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 ArticleMike 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 ArticleAndre 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 ArticleMike 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 ArticlePython 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 ArticlePyCharm: 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 ArticleStack 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 ArticleReal 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 ArticleTest 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 ArticleBreadcrumbsCollector: 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 ArticlePodcast.__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 ArticleMike 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 ArticleCodementor: 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 ArticleQuansight 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 ArticleStack 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 ArticleReal 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 ArticleStack 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 ArticleEveryday 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 ArticlePyCoder’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 ArticleMatthew 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