This (half-)month in Python and elsewhere: Python’s “useless batteries” are about to be eliminated—and shortly. Right here’s easy methods to reside with out them. Additionally, get began with Pillow for picture processing, and learn how Python’s built-in enum
module makes working with named constants simpler. And, in the event you’re trawling via Python supply code with Python itself, there are higher methods to do it. Previous-school coder, meet the ast
library.
High picks for Python readers on InfoWorld
What you could learn about Python’s ‘useless batteries’
Goodbye to historical, unmaintained Python standard-library modules! They’re gone as of Python 3.13, and so they gained’t be missed. You’ll nonetheless must know easy methods to reside with out them, although, and now could be the time to seek out out.
Picture processing in Python with Pillow
For those who’ve received photos stuffed with hitches, Pillow (previously the Python Imaging Library), offers a slew of modules for prettifying them programmatically.