Python

How to Annotate a Graph with Matplotlib and Python

The Matplotlib package is great for visualizing data. One of its many features is the ability to annotate points on your graph. You can use annotations to explain why a particular data point is significant or interesting. If you haven’t used Matplotlib before, you should check out my introductory article, Matplotlib – An Intro to […]

How to Annotate a Graph with Matplotlib and Python Read More »

Ruff – The Fastest Python Linter and Formatter Just Got Faster!

I’m a little late in reporting on this topic, but Ruff put out an update in April 2024 that includes a hand-written recursive descent parser. This update is in version 0.4.0 and newer. Ruff’s new parser is >2x faster, translating to a 20-40% speedup for all linting and formatting invocations. Ruff’s announcement includes some statistics

Ruff – The Fastest Python Linter and Formatter Just Got Faster! Read More »

One Week Left for Python Logging Book / Course Kickstarter

My latest Python book campaign is ending in less than a week. This book is about Python’s logging module. I also include two chapters that discuss structlog and loguru. Support on Kickstarter  Why Back A Kickstarter? The reason to back the Kickstarter is that I have exclusive perks there that you cannot get outside of

One Week Left for Python Logging Book / Course Kickstarter Read More »

Episode 40 – Open Source Development with Antonio Cuni

In this episode, we discuss working on several different open-source Python packages. Antonio Cuni is our guest, and he chats about his work on PyScript, pdb++, pypy, HPy, and SPy. Listen in as we chat about Python, packages, open source, and so much more! Show Links Here are some of the projects we talked about

Episode 40 – Open Source Development with Antonio Cuni Read More »

How to Read and Write Parquet Files with Python

Apache Parquet files are a popular columnar storage format used by data scientists and anyone using the Hadoop ecosystem. It was developed to be very efficient in terms of compression and encoding. Check out their documentation if you want to know all the details about how Parquet files work. You can read and write Parquet

How to Read and Write Parquet Files with Python Read More »

How to Watermark a Graph with Matplotlib

Matplotlib is one of the most popular data visualization packages for the Python programming language. It allows you to create many different charts and graphs. This tutorial focuses on adding a “watermark” to your graph. If you need to learn the basics, you might want to check out Matplotlib—An Intro to Creating Graphs with Python.

How to Watermark a Graph with Matplotlib Read More »

Announcing The Python Logging Book & Course Kickstarter

What does every new developer do when they are first learning to program? They print out strings to their terminal. It’s how we learn! But printing out to the terminal isn’t what you do with most professional applications. Support on Kickstarter  In those cases, you log into files. Sometimes, you log into multiple locations at

Announcing The Python Logging Book & Course Kickstarter Read More »

Anaconda Partners with Teradata for AI with Python packages in the Cloud

Anaconda has announced a new partnership with Teradata to bring Python and R packages to Teradata VantageCloud through the Anaconda Repository. But what does that mean? This new partnership allows engineers to: Rapidly deploy and operationalize AI/ML developed using open-source Python and R packages. Unlock innovation and the full potential of data at scale with a

Anaconda Partners with Teradata for AI with Python packages in the Cloud Read More »

Python 3.13 Allows Disabling of the GIL + subinterpreters

Python 3.13 adds the ability to remove the Global Interpreter Lock (GIL) per PEP 703. Just this past week, a PR was merged in that allows the disabling of the GIL using a command line flag or an environment variable in free-threaded builds. Note that Python must be built using the Py_GIL_DISABLED flag for this

Python 3.13 Allows Disabling of the GIL + subinterpreters Read More »

NEW COURSE: Python 101 Video Course on Udemy and TutorialsPoint

I recently put my Python 101 Video Course up on Udemy and TutorialsPoint. There are one thousand free copies of the course available on Udemy by using the following link: https://www.udemy.com/course/python-101-c/?couponCode=A9CBEA3F6A1790FA40FF If you prefer TutorialsPoint, you can get a free copy here: https://www.tutorialspoint.com/python-101-with-mike-driscoll/index.asp Use coupon code: py101 The Python 101 video course is also available

NEW COURSE: Python 101 Video Course on Udemy and TutorialsPoint Read More »

uv – Python’s Fastest Package Installer and Resolver

There’s a new Python package installer out now and it’s called uv. The uv package installer and resolver is made by Astral. Uv is written in Rust instead of Python and is super fast! Astral is best known for Python’s fastest formatter, Ruff. The uv package is meant to be a drop-in replacement for pip and pip-tools.

uv – Python’s Fastest Package Installer and Resolver Read More »

NEW COURSE: Automating Excel with Python on Udemy

In Automating Excel with Python: Processing Spreadsheets with OpenPyXL, you will learn how to use Python to create, edit, or read Microsoft Excel documents using OpenPyXL. This course is based on the book, Automating Excel with Python by Michael Driscoll. Python is a versatile programming language. You can use Python to read, write and edit

NEW COURSE: Automating Excel with Python on Udemy Read More »

Episode 27 – Python Formatters with Lukasz Langa

Episode 27 of The Python Show Podcast welcomes Lukasz Langa as our guest. Lukasz is a CPython Developer in Residence, which means he works full-time on the core CPython language. He is also the creator of Black, a super popular Python code formatter. In this episode, we talked about the following topics: Core python development

Episode 27 – Python Formatters with Lukasz Langa Read More »