TLDR Web Dev · MISCELLANEOUS

PYTHON'S MANY COMMAND-LINE UTILITIES

pythonmorsels.com15 min read

Summary from the TLDR Web Dev newsletter

Python modules can be run as command-line tools using the "-m" argument, providing functionality like starting web servers, opening URLs, formatting JSON data, and managing Python environments. This article goes through a bunch of examples, such as using libraries to read email, unzip files, and more.