Meaning of Python Usage Argument Syntax (ex : Usage example.py [-h] --example {example~~})

后端 未结 0 774
旧巷少年郎
旧巷少年郎 2021-02-03 14:11

Hello I want to know meaning of [],{},-,-

For example, when I execute the python program, program prints "Usage : example.py [-h] example --example {example}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题