/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

0x00.cl
| | 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.
| | ouroboros.rocks
1.7 parsecs away

Travel
| |
| | blog.valentin.sh
1.5 parsecs away

Travel
| | [AI summary] The author analyzes the performance of a command-line todo program, identifying that the majority of the execution time is due to Python interpreter startup and standard library imports, rather than their own code.
| | wittchen.io
8.9 parsecs away

Travel
| Introduction I have my own tiny Python project called spotify-cli-linux, which is (surprise!) command line interface for Spotify desktop app on Linux. Python is not my primary programming language and I work more with Java. Nevertheless, I find this language enjoyable and useful in many cases, so I try to learn something new about it from time to time. In the beginning, I've provided instructions how to install my Python script in the system via curl and wget, which is fine, but it's not recommended and ...