Python

Python’s with Statement and Context Managers

Python came out with a special new keyword several years ago in Python 2.5 that is known as the with statement. This new keyword allows a developer to create context managers. But wait! What’s a context manager? They are handy constructs that allow you to set something up and tear something down automatically. For example, …

Python’s with Statement and Context Managers Read More »

Pillow: Image Processing with Python Now Available!

Pillow: Image Processing with Python is my latest book on the Python programming language. The paperback and Kindle versions are now available on Amazon. The paperback version of the book is in full color. That is why it more expensive than any of my other books to purchase. I put together a little video where …

Pillow: Image Processing with Python Now Available! Read More »

PyDev of the Week: Ngazetungue Muheue

This week we welcome Ngazetungue Muheue (@muheuenga) as our PyDev of the Week! Ngazetungue helps organize PyCon Namibia and is the co-founder of Python Namibia. He is an active speaker and a member of the Python Software Foundation. Let’s spend some time getting to know him better! Can you tell us a little about yourself …

PyDev of the Week: Ngazetungue Muheue Read More »

Python Packaging Index Removes 3,653 Malicious Libraries

Once again the Python Packaging Index (PyPI) has been hit with malicious libraries. Over 3500 of them in fact. You can read more about this at The Register or the Sonatype Blog. The administrators at PyPI were quick to remove these libraries and minimize the risk of people installing them. On the plus side, these …

Python Packaging Index Removes 3,653 Malicious Libraries Read More »