Wednesday, December 7, 2022

Learning how to feed arguments to command line - Argparse

Beginner on Argparse. The following are from the Official documentation.

The argparse module’s support for command-line interfaces is built around an instance of argparse.ArgumentParser. It is a container for argument specifications and has options that apply the parser as whole. The first descriptive message for the program is determined from sys.argv[0] or from the prog= argument.