Explore >> Select a destination


You are here

florimond.dev
| | bruceeckel.com
3.8 parsecs away

Travel
| |
| | dusty.phillips.codes
3.0 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
3.8 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.
| | henrikwarne.com
21.4 parsecs away

Travel
| For several years now, we have been running a developer book club at work. We pick a book relevant to software development, and read a chapter a week. Every other week we meet for 30 to 45 minutes and discuss what we have read. It is quite popular and useful, so I thought I would...