07:31Argparse for CLI - Intermediate Python Programming p.3
From the creator
Welcome to part 3 of the intermediate Python programming tutorial series. In this part, we're going to talk about the standard library called argparse. Argparse is a parser for command-line options, arguments, and sub-commands. Argparse tutorial: https://pythonprogramming.net/argparse-cli-intermediate-python-tutorial/ In the basics series, we actually just used the sys library, which can also work, but isn't quite as extensive. Having even just a very basic command-line interface (CLI) for your program can make everyone's life easier for modifying parameters, including programmers, but also non-programmers. A CLI for your program can also make it easier to automate running and modifying variables within your program, for when you want to run your program with a cronjob or maybe an os.system call. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Published 2016-11-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





