Python Articles, Tutorials & News

Python in 2021: The Good, the Bad, and the Ugly

IntroductionIn this post, I want to look at the biggest strengths and weaknesses of Python, with more emphasis on the weaknesses, just because these problems have been there for years now and some of the rough edges bleed a lot. The Good – Where Python Sh…

Read more »

Python Anti-Pattern

I was writing a lambda function which, among other things, was supposed to read a csv file from S3, perform some validation on every row, then use boto3 to perform an S3 multipart upload. I created a wrapper class around the multipart upload functionality…

Read more »

OpenBSD’s Pledge and Unveil from Python

Years ago, OpenBSD gained two new security system calls, pledge(2) (originally tame(2)) and unveil. In both, an application surrenders capabilities at run-time. The idea is to perform initialization like usual, then drop capabilities before handling untru…

Read more »

Python Anti-Pattern

I was writing a lambda function which, among other things, was supposed to read a csv file from S3, perform some validation on every row, then use boto3 to perform an S3 multipart upload. I created a wrapper class around the multipart upload functionality…

Read more »

200+ Python Exercises: An Introduction to Python

This book contains exercises and answers to learn the Python programming language. Programming is something you best learn by doing and that's why exercises are a great way to learn the Python programming language. Python is a widely popular progr…

Read more »