How To Pass Command-Line Values to a Python Script
Use argparse to define script values
Published in
5 min readMay 11, 2020
Python provides a native library for passing command-line values to scripts called argparse. With argparse, we can include variable values in the execution command instead of using input() to request the value mid-execution. This saves us time and more importantly allows script execution lines to be saved and…