Quantcast
Channel: Planet Python
Browsing all 23117 articles
Browse latest View live

Brett Cannon: Unravelling `for` statements

As part of my series on Python's syntactic sugar, I am going to cover the for statement. As usual, I will be diving into CPython's C code, but understanding or even reading those parts of this post...

View Article


Mike Driscoll: PyDev of the Week: Leodanis Pozo Ramos

This week we welcome Leodanis Pozo Ramos (@lpozo78) as our PyDev of the Week! Leodanis is a contributor and author for Real Python. You can see some of his projects over on Github or see what he’s up...

View Article


Image may be NSFW.
Clik here to view.

Andre Roberge: Friendly-contest: we have a winner!

 Since my last post, no new issue has been filed. As the deadline has passed (8 am, AST), I have written a short program to randomly draw a winner. In my last post, I listed incorrectly the entries...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: Image Processing with Python Kickstarter Ending Soon

My Kickstarter for my latest book, Pillow: Image Processing with Python is ending in 8 days. You should check it out and learn how you can edit photos with Python! You will learn about the following...

View Article

Image may be NSFW.
Clik here to view.

Python Pool: How to Remove Punctuation From a String, List, and File in Python

While doing some Python projects, we need to remove the Punctuation marks to make our code look cleaner. So, keeping this in mind, Python Pool brings you an in-depth article on removing the punctuation...

View Article


Image may be NSFW.
Clik here to view.

PyCharm: Thank You, PyCharm Users: Together We Supported Python!

Last December PyCharm supported the Python Software Foundation (PSF) on their Q4/2020 fundraiser campaign. All proceeds from every new PyCharm Professional Edition license purchased with the discount...

View Article

Image may be NSFW.
Clik here to view.

Stack Abuse: Seaborn Box Plot - Tutorial and Examples

IntroductionSeaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data...

View Article

Image may be NSFW.
Clik here to view.

Real Python: How to Use Python: Your First Steps

Are you looking for a place to learn the basics of how to use Python from a beginner’s perspective? Do you want to get up and running with Python but don’t know where to start? If so, then this...

View Article


Test and Code: 142: MongoDB - Mark Smith

MongoDB is possibly the most recognizable NoSQL document database. Mark Smith, a developer advocate for MongoDB, answers my many questions about MongoDB. We cover some basics, but also discuss some...

View Article


Image may be NSFW.
Clik here to view.

BreadcrumbsCollector: Python & the Clean Architecture in 2021

It’s been almost 3 years since I used the Clean Architecture in production for the first time. I made it to quite a few conferences to talk about it (e.g. see Clean Architecture in Python talk from...

View Article

Image may be NSFW.
Clik here to view.

Podcast.__init__: Making The Sans I/O Ideal A Reality For The Websockets Library

Working with network protocols is a common need for software projects, particularly in the current age of the internet. As a result, there are a multitude of libraries that provide interfaces to the...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: Create an EXIF Viewer with PySimpleGUI

The Pillow package gives you the ability to extract EXIF (Exchangeable Image File Format) metadata from images. You can get a lot of information about your images via the EXIF data. However, there are...

View Article

Codementor: Keras training with EarlyStopping callback to avoid overfitting

Here is another simple tutorial on how to train simple neural network with callback. A great feature to avoid overfitting

View Article


Quansight Labs Blog: Python packaging in 2021 - pain points and bright spots

At Quansight we have a weekly "Q-share" session on Fridays where everyone can share/demo things they have worked on, recently learned, or that simply seem interesting to share with their colleagues....

View Article

Stack Abuse: Integrating MongoDB with Flask Using Flask-PyMongo

IntroductionBuilding a web app almost always means dealing with data from a database. There are various databases to choose from, depending on your preference.In this article, we shall be taking a look...

View Article


Real Python: Evaluate Expressions Dynamically With Python eval()

The built-in Python function eval() is used to evaluate Python expressions. You can pass a string containing Python, or a pre-compiled object into eval() and it will run the code and return the result....

View Article

Image may be NSFW.
Clik here to view.

Stack Abuse: Matplotlib Box Plot - Tutorial and Examples

IntroductionThere are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to its reliability and utility - it's...

View Article


Everyday Superpowers: SOLID Practice with Fizz Buzz

I'm convinced that the best way to grow as a developer is to practice. In particular, intentionally practicing things you aren't good at or haven't tried. In that vein, I started a weekly meeting at...

View Article

Image may be NSFW.
Clik here to view.

PyCoder’s Weekly: Issue #457 (Jan. 26, 2021)

#457 – JANUARY 26, 2021View in Browser »Unravelling for Statements Learn how Python’s for statement works behind the scenes by diving into the bytecode and CPython source code.BRETT CANNONYou Don’t...

View Article

Matthew Wright: Selection in pandas using query

The query method in pandas DataFrames provides some flexibility in code, and potential speedups using numexpr.The post Selection in pandas using query appeared first on wrighters.io.

View Article
Browsing all 23117 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>