/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

bruceeckel.com
| | dusty.phillips.codes
3.3 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:
| | 0x00.cl
2.5 parsecs away

Travel
| | Tomas Gutierrez L. personal website (0x00)
| | janakiev.com
2.5 parsecs away

Travel
| | When writing programs, there is often a large set of configuration and credentials that should not be hard-coded in the program. This also makes the customization of the program much easier and more generally applicable. There are various ways to handle configuration and credentials and you will see here a few of the popular and common ways to do that with Python.
| | florimond.dev
6.0 parsecs away

Travel
| ChainMap in a nutshell: treat multiple dictionaries as one, unlock Python superpowers.