/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

me.micahrl.com
| | dusty.phillips.codes
2.2 parsecs away

Travel
| | I really appreciate Python's pathlib module for managing filesystem stuff. While I don't love the argparse module for command line parsing, I don't think it's worse than other available options. I usually choose it for my CLI scripts, since nothing else is good enough to overcome the inertia of using a third party library. Not many people seem to be aware that the two can very easily be combined such that argparse will return Path objects instead of strings that need to be adapted after you query them:
| | pythontest.com
2.0 parsecs away

Travel
| | I was asked recently about how to test the argument parsing bit of an application that used argparse. argparse is a built in Python library for dealing with parsing command line arguments for command line interfaces, CLI's. You know, like git clone . git is the application. is a command line argument. clone is a sub-command. Well, that might be a bad example, as I'm not going to use subcommands in my example, but lots of this still applies, even if you are using subcommands.
| | www.trickster.dev
1.5 parsecs away

Travel
| | Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting
| | jan.schnasse.org
4.1 parsecs away

Travel
| [AI summary] The content discusses website cookies, user consent for analytics and advertising, and privacy policies.