xxxxxxxxxx
parser.argparse.ArgumentParser()
# parser.add_args here
# sys.argv includes a list of elements starting with the program
if len(sys.argv) < 2:
parser.print_usage()
sys.exit(1)
xxxxxxxxxx
parser.add_argument('--use-lang', required=True, help="Output language")
xxxxxxxxxx
you have the solution here:
https://eli.thegreenplace.net/2010/12/14/problem-passing-arguments-to-python-scripts-on-windows/
xxxxxxxxxx
parser.add_argument("-a", "--automatic", nargs="?", const=8, type=int)