Contributions

Article
Learn about all the things you can do with Python's `textwrap` module, including formatting, text wrapping, trimming and more
Article
Learn how to optimize search and keep your data sorted in Python with the `bisect` module
Article
Whether you're debugging networking, databases, your application code, or anything else, these images will be all you need to get it done
Article
Python has many eyebrows-raising, weird “features” — from quirky behaviours to weird design choices, and borderline bugs...
Article
Using PyStack’s “forbidden magic” to debug deadlocks, segmentation faults, crashes, and other difficult bugs in Python
Article
Set breakpoints, step through code, and interactively debug your Python applications running on Kubernetes with ease
Article
These are all the options you have in Python for running other processes - the bad; the good; and most importantly, _the right way_ to do it
Article
True multi-core concurrency is coming to Python in 3.12 release and here’s how you can use it right now using sub-interpreter API
Article
Even though Python’s standard library comes with “batteries included,” it’s still missing some essentials…
Article
You only need one function for functional programming in Python and that's `reduce` - here's all the things you can do with it
Article
Simplify your Python code by replacing all the unnecessary if/else statements and match/case blocks with dynamic dictionary function lookups using Dictionary Dispatch pattern
Tutorial
Learn how to use Grafana Phlare and continuous profiling to discover bottlenecks in you code and boost the performance of your Python applications
Article
Can recursive functions use “lazy evaluation”? — Yes, they can — Using Python’s generator functions!
Article
There are many Python magic methods you probably never knew existed — let’s find out what they do and how we can use them in our code
Tutorial
A crash course in using Python and Mastodon’s API to build bots, analyze data, authorize users, respond to notifications and much more
Tutorial
A crash course in using Python and Google APIs to automate all the things you do with Gmail, Google Drive, Calendar, or any other Google API
Article
Start webserver, open browser, parse JSON, compress files and much more with Python commandline tools and without opening a single file or writing any code
Article
Tips and tricks for inspecting Python objects and getting information about your code at runtime
Article
Do you really know what is `self` method argument in Python, how does it work under covers, and why does it appear in method signatures?
Article
Write better list comprehensions with the help of these unknown features and tricks...
Article
Python’s controversial assignment expression — known as the walrus operator — can improve your code, and it’s time you start using it!
Article
Python’s match/case syntax looks like a basic switch statement, but it’s much more powerful than that...
Article
Forget about `os.path`, `random`, `pytz`, `namedtuple` and more and start using the latest and greatest Python libraries instead.
Article
Learn how you can use Python’s Kubernetes Client library to automate all the boring Kubernetes tasks and operations
Library
Tool for extracting Google Analytics data suitable for migrating to other platforms/databases
Article
Learn about the unknown features of Python's f-strings - the formatted string literals - and up your text formatting knowledge and skills
Article
Everything you ever wanted for your Python project’s continuous integration pipeline — up and running in matter of minutes
Article
Find out why your Python apps are using too much memory and reduce their RAM usage with these simple tricks and efficient data structures
Article
A look at recent Python Enhancement Proposals (PEPs) and all the exciting new features, changes and improvements they might bring
Article
Debugging can become an enjoyable experience with beautiful traceback messages created with Python's custom exception hooks

Showing the last 30 only...