是否有将argparse列表作为选项传递的选项? parser.add_argument('-l', '--list', ... dest='list', help=' Set flag', required=True) 脚本如下所示 python test.py ...
確定! 回上一頁