This month, Python enthusiasts are facing a major shift: Python’s “dead batteries” are officially being removed in Python 3.13. These outdated and unmaintained modules are finally being retired, and while they won’t be missed, developers will need to adapt to life without them. If you haven’t already, it’s a good time to explore alternatives and prepare for the changes ahead.
For those interested in image processing, Python’s Pillow library (formerly known as the Python Imaging Library) provides a range of tools to enhance and manipulate images. Whether you’re fixing glitches or creating new visuals from scratch, Pillow makes it easy to handle image data programmatically, offering a broad suite of features for developers to explore.
In another step towards cleaner and more readable code, Python’s built-in enum module allows for better management of named constants. Instead of relying on vague booleans like True and False, you can now use descriptive terms like RUNNING and STOPPED, improving clarity and making your code easier to understand and maintain. This small but powerful feature can make a big difference in your workflow.
For those working with Python source code itself, there’s a new approach to navigating and modifying code: the ast module. Rather than treating program code as plain text, the ast (Abstract Syntax Tree) library lets you work with code in a more structured, programmable way. It provides a powerful tool for automating code analysis and transformations, opening up new possibilities for code manipulation and optimization.
Additionally, for developers looking to expand their toolkit, there are some exciting updates and resources available. DBOS Transact offers a lightweight, durable execution model for Python programs, ensuring your apps can save their progress even in the event of a system crash. And for LibreOffice users, the new LibrePythonista extension lets you run Python code directly in LibreOffice Calc, offering a similar experience to Microsoft Office’s Python integration. There’s always something new in the Python world!