Skip to main content

Python

Develop applications and automation scripts with Python. Articles span beginner syntax to advanced libraries used in DevOps and beyond.

8posts

Guides

Posts

Python
|12 min read

Python 3.15 Made UTF-8 the Default. We Ran 13 Cases in Seven Linux Locales to See What Changes

Python 3.15 turns on UTF-8 mode everywhere. With container locale settings, none of our 13 encoding cases changed. On a UTF-8 server, only stdin and stdout changed. On a legacy-locale host, almost everything did, and the PYTHONUTF8=0 opt-out dropped LC_ALL=C processes to ASCII.

Python
|18 min read

From DNS to Delivery: Building Transactional Email with SMTPFast

Connect a domain, send a FastAPI receipt through SMTPFast, trace delivery beyond the 200 response, and verify signed webhooks end to end.

Python
|7 min read

How do I Get Flask to Run on Port 80?

Running Flask on port 80 requires special permissions since port 80 is a privileged port. Learn the different approaches to running Flask on port 80, from using sudo to setting up reverse proxies with Nginx.

Python
|6 min read

Why Python open() Does Not Create a File If It Doesn't Exist

Learn why open() in read mode fails on non-existent files, which modes create files automatically, and how to handle file creation properly in Python.

Python
|9 min read

Lightweight Alternatives to Python Twisted for Async Networking

Explore modern, lightweight alternatives to Twisted for building asynchronous network applications in Python, including asyncio, aiohttp, Trio, and more.

Python
|6 min read

Finding Local IP Addresses Using Python's stdlib

Learn how to find the local IP address of your machine using only Python's standard library. No third-party packages required.

Python
|6 min read

What Is the Quickest Way to HTTP GET in Python?

Need to make a quick HTTP GET request in Python? Here's how to do it with standard libraries and third-party tools, including pros and tradeoffs.