Building Command Line Interfaces With argparse
One of the strengths of Python is that it comes with batteries included: it has a rich and versatile standard library that makes it one of the best programming languages for writing scripts for the command line.
But, if you write scripts for the command line, then you also need to provide a good command line interface, which you can create with the Python argparse
library.
In this video course, you’ll learn:
- What the Python
argparse
library is, and why it’s important to use it if you need to write command line scripts in Python - How to use the Python
argparse
library to quickly create a simple CLI in Python - What the advanced usage of the Python
argparse