Python与cmd终端交互,使用argparse示例.py

时间:2020-12-05 08:20:25
【文件属性】:
文件名称:Python与cmd终端交互,使用argparse示例.py
文件大小:2KB
文件格式:PY
更新时间:2020-12-05 08:20:25
argparse Python与cmd终端交互,使用argparse示例.py parser = argparse.ArgumentParser() parser.add_argument('-v', '--verbose', help='run with verbose', action='store_true') parser.add_argument('-d', '--debug', help='build debug version', action='store_true')

网友评论