| Speed Up Your Python Program With Concurrency |
How and when to use concurrency in Python. You’ll see a simple, non-concurrent approach and then look into why and when you’d want to use threading, asyncio, or multiprocessing.
What I’ve Learned About Optimizing Python
A nice overview of common Python performance pitfalls and how to avoid them. Mostly aimed at CPython 2.7 but much of it applies to Python 3 as well. (While you read the article, keep in mind that “premature optimization is the root of all evil.”)
Develop Your Python GUI Applications With Qt
Learn how to create fluid user interfaces and data visualizations with Qt for Python in this free hands-on webinar. Also included are free examples of ready-made 2D/3D data visualizations, controls, charts, and more to get you started. Code along!
Parsing Semi-Formatted Text in Python via TextFSM
TextFSM is a module for parsing text using a simple template language. Orkhan’s article offers a nice introduction and I found it more useful than TextFSM’s official website.
Dockerizing Python Applications
See how to write a simple Python web application using Flask and get it ready for “dockerizing”, followed by creating a Docker Image, and deploying it both to a test and production environment. Good step-by-step tutorial.
Improve Your Code With Atomic Functions
You may have encountered the terms atomic function and the Don’t Repeat Yourself (DRY) principle. Sean’s article demonstrates how these concepts work together to make your Python code easier to test and more readable.
Enforcing Consistent Formatting for JSON Files With Python
Nice little “hack” for ensuring that JSON files checked into code repositories follow a common formatting style. Helps keep your git diffs nice and clean.
A* Pathfinding Algorithm Explained With Python
The animations visualizing every step of the algorithm are amazing in this article. This was originally published in 2014 but continuously updated since then.
Ruby Creator on Running an Open-Source Project
“You feel better. No cost. But it doesn’t help the community. It’s how Python lost Guido (I think)” and “Please be constructive. Don’t ruin our lives.”
What Does a Basic Python Portfolio Look Like?
What Python Habits Do You Wish You Unlearned Earlier?
My Parents Kept Asking for Photos of My Daughter, So I Automated It
And that my friend, is the true power of Python ;-)
Sr Enterprise Python Developer (Toronto, Canada)
Senior Software Engineer (Santa Monica, CA)
Python Software Engineer(s) (Palo Alto, CA)
RHYTHM DIAGNOSTIC SYSTEMS, INC
Senior Python Developer (Vienna, Austria)
More Python Jobs >>>
Articles & Tutorials
What Should Be in the Python Standard Library?
“Python has always touted itself as a ‘batteries included’ language; its standard library contains lots of useful modules, often more than enough to solve many types of problems quickly. From time to time, though, some have started to rethink that philosophy […]”
Django Migrations: A Primer
Get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.
Python Basics: A Practical Introduction to Python 3
Make the leap from Beginner to Intermediate in Python with this complete curriculum freshly updated for Python 3.7. Includes exercises, interactive quizzes, and sample projects so you’ll always know what to focus on next. The first half of this book is a quick yet thorough overview of all the Python fundamentals. The second half focuses on solving interesting, real-world problems in a practical manner using Python. Last call for the Early Access discount (47% off) →
REAL PYTHONbook sponsor
Machine Learning in Python
Are you struggling to get your start in machine learning using Python? In this step-by-step tutorial you’ll learn how to perform basic machine learning using Python, from scratch.
Automated Machine Learning in Python
Can machine learning processes be automated? This article provides an overview of Python-based AutoML approaches and libraries.
Filesystem Magic with Python
How to achieve various filesystem related tasks, such as finding duplicates or deleting files, using the PyFilesystem library. The cool thing is that all examples work with local files, archives, and network filesystems like S3 or Google Cloud Storage.
Probabilistic Programming in Python
Learn how to use PyMC3 to define and solve probabilistic models.
Kenneth Reitz’s Code Style™
A short post with Kenneth’s thoughts on PEP 8.
KENNETHREITZ.ORG • Shared by Ricky White
Projects & Code
json.tool: CLI to Validate and Pretty-Print JSON Objects
I had no idea this was part of the Python standard library. Live and learn!
Treepace: Tree Transformation Language
Treepace (“tree pattern replace”) is a Python library offering a concise, embeddable language for searching and replacing parts of tree structures.
grumpy: Python 2.7 → Go Source Code Transcompiler and Runtime
Compiles Python source code to Go source code which is then compiled to native code, rather than to bytecode.
Developing Privacy-Aware Applications With Python and I2P
Invisible Internet Project (I2P) provides a framework for developing privacy-aware applications. It is a virtual network working on top of the regular Internet, in which hosts can exchange data without disclosing their “real” IP addresses.
TextFSM: Python Module for Parsing Semi-Structured Text
The engine takes two inputs—a template file, and text input (such as command responses from the CLI of a device) and returns a list of records that contains the data parsed from the text. This is pretty cool, check out this tutorial to see some examples.
PyFilesystem: Filesystem Abstraction for Python
Work with files and directories in archives, memory, the cloud, and so on as easily as your local drive.