Parsing Command-Line Arguments: Argparse
Learn about command-line arguments and the argparse library.
We'll cover the following...
On *nix systems (i.e., the descendants of Unix, all flavors of Linux, MacOS, etc.), command-line programs typically accept arguments in a standardized fashion. Let’s look at an example. In the following terminal, look at the usage of the ls
command by running ls --help
.
Access this course and 1400+ top-rated courses and projects.