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 »

Using CSS to Style a Python TUI with Textual

Textual is a Python framework for creating Text Based user interfaces (TUIs). You can create graphical user interfaces in your terminal with Textual. If you haven’t heard of Textual before, check out An Intro to Textual – Creating Text User Interfaces with Python In this tutorial, you will learn how to create and style a

Using CSS to Style a Python TUI with Textual Read More »

Episode 21 – Sanic – The Async Python Web Framework

Python has many remarkable web frameworks to choose from. Sanic is another excellent web framework and one of the first to support async programming. Sanic is built to be able to build fast and run fast. In this episode, we talk to Adam Hopkins, one of the maintainers of the Sanic web framework. We discuss the following

Episode 21 – Sanic – The Async Python Web Framework Read More »

wxPython 101 – wx.NewId() is Deprecated!

Deprecation warnings are handy ways for open-source maintainers to alert their users that some part of their package is no longer going to be supported. Good maintainers will provide migration guides that tell you what to do when you see a deprecation warning. You don’t want to ignore a deprecation warning because it alerts you

wxPython 101 – wx.NewId() is Deprecated! Read More »

lxml objectify and Working with XML Tag Containing Periods

Recently, I have been working on automating Jenkin’s config XML files using Python and the lxml package. I have several articles on using lxml and its handy objectify functionality: Python: Creating XML with lxml.objectify Parsing XML with Python using lxml.objectify But I’ve never really covered what to do when you need to create or parse

lxml objectify and Working with XML Tag Containing Periods Read More »