The latest episode of The Python Show Podcast is out now. In this episode, I have special guest, Tim Hopper, author of the Python Developer Tooling Handbook. We chat about #Python, tooling in Python, AI, book writing, and lots more!
@teachmepython.bsky.social
Which #Python charting library do you use? 🐍matplotlib 🐍xy 🐍seaborn 🐍plotly 🐍bokeh 🐍altair 🐍plotnine 🐍pygal Or something else?
Have you ever created a ternary expression in #Python? A ternary is a one-line conditional statement. Check it out:
#Python Pop Quiz 🐍❓ What is the output of the following code? A) An exception is raised B) x=... C) x=Ellipsis D) Something else
PyPI exceeded 2 EXABYTES in bandwidth served in 2026 so far! That'scrazy!
Did you know you can add an `else` statement to a `while` loop in #Python? If so, what do you use it for? If not, here's an example:
Pyrefly, a super fast #Python type checker, dropped version 1.2 last week This release includes: 🐍 New support for Bazel 🐍 New support for attrs 🐍 The type checker coverage tool is now stable 🐍 and more!
Want to know how many cores on your CPU with #Python? You can use the multiprocessing module for that 🐍🔥
My friend, Adam Johnson, has released a new versio nf of time-machine, a library for mocking the current date and time in Python tests New features: 🐍 Python 3.15 support 🐍 Faster patched functions 🐍 Subinterpreter support 🐍 Built-in freezegun migration
Django 6.1 is out now! New features include: 🐍Database level delete options for ForeignKey 🐍Dictionary based email settings 🐍Support for Python 3.12-3.14 🐍Model field fetch modes and more!
collections.ChainMap is a built-in Python class that groups multiple dictionaries or mappings into a single, updatable view. Instead of merging dictionaries and creating new data structures in memory, it links them by reference so you can search and manage them as one
Have you ever used #Python's deque collection before? A deque is designed specifically for fast, memory-efficient, and thread-safe additions and removals from both ends You can even rotate a deque! Here are some examples:
Have you ever used the psutil package? It's a great #Python package for getting information about your computer's hardware, and it's cross-platform! Here's an example of getting your RAM:
Have you tried out the `collections` module in #Python? I really like it. One of my favorite parts of collections if `Counter` which gives you an easy way to take in an iterable and find the most common values within it
The latest version of Ruff came out last week. Ruff is a rust-base #Python linter and formatter that is super fast! With v0.16.0, Ruff enables 413 rules by default, up from 59 in previous versions.
The EuroPython keynote with Guido van Rossum (creator of #Python) and Pablo Galindo Salgado and Łukasz Langa (core developers) is up now on YouTube. 🐍🔥 This looks like a fun one!
Want to run a #Python script without needing to install Python? Try the new taipan package! Taipan creates a single self-contained binary (Zig + embedded CPython) that runs PEP 723 scripts on machines with no Python installed.
My friend, Adam Johnson, released a project called django-crawl The django-crawl project will crawl your #Django website and find errors like broken links, exceptions, etc
What do you think of the proposal to add d-strings to #Python in 3.16? A d-string will automatically remove indentation from multiline string literals Example from PEP 822