Tag: Python
Browse all articles, tutorials, and guides about Python
Guides
Posts
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.
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.
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.
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.
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.