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:
argparse
library is, and why it’s important to use it if you need to write command line scripts in Pythonargparse
library to quickly create a simple CLI in Pythonargparse
library isThis video course is for early intermediate Pythonistas who probably write scripts in Python for their everyday work but have never implemented a command line interface for their scripts.
If that sounds like you, and you’re used to setting variable values at the beginning of your scripts or manually parsing the sys.argv
system list instead of using a more robust CLI development tool, then this video course is for you.
What’s Included:
Downloadable Resources:
Related Learning Paths:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4