Home  >  Q&A  >  body text

How to understand command line parameters? Xiaobai doesn’t understand?

$ python -h
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Options and arguments (and corresponding environment variables):
-c cmd : program passed in as string (terminates option list)
-d     : debug output from parser (also PYTHONDEBUG=x)
-E     : ignore environment variables (such as PYTHONPATH)
-h     : print this help message and exit

[ etc. ]
这种么理解?新人刚学习

苏佳顺苏佳顺1880 days ago944

reply all(1)I'll reply

  • 像风一样自由

    像风一样自由2019-08-03 16:15:56

    -C command: program passed in as string (list of termination options)

    -D: debug output from parser (also pythondebug=x)

    -E: Ignore environment variables (such as pythonpath)

    -H: Print this help message and exit

    You will know the literal meaning, what else do you need to understand

    reply
    0
  • Cancelreply