/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

til.simonwillison.net
| | www.paepper.com

Python is a great language to build command-line tools in as it's very expressive and concise. You want to have the ability to parse arguments in your scripts as you don't want to hard-code the relevant variable values to make the tool useful. So how do we go about this in Python? It's easily done using the argparse module. With argparse, you define the different arguments which you expect, their default values and their shortcuts to call them.
3.9 parsecs

Travel
| |
| | www.trickster.dev

Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting
4.8 parsecs

Travel
| |
| | nickjanetakis.com

We'll go over the code powering a CLI tool using only the Python 3 standard library and cover a few programming patterns along the way.
5.8 parsecs

Travel
| |
| | ouroboros.rocks


9.9 parsecs

Travel
|