TIL there are dozens of neat little command-line tools hidden away in the Python standard library, available to run on any machine that has a Python installation https://til.simonwillison.net/python/stdlib-cli-tools
CLI tools hidden in the Python standard library

Seth Michael Larson pointed out that the Python gzip module can be used as a CLI tool like this:

@simon Nice list. http.server is handy to get files off Windows machines.

I like `python -m pdb -c continue my-script.py` to let me drop into a debugger if my script crashes.

`pip` wasn't on the list, but `subprocess.run([sys.executable, '-m', 'pip', 'install', 'geopandas'])` is how I install extra dependencies into the bundled Python environment of the QGIS mapping software.