/explore
|
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. |
|
| | | | | ||
| | | | |
www.trickster.dev
Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
ouroboros.rocks
|
|
| | | |||