问答 / 92 / 2 / 创建于 1年前
It already told you that
the following arguments are required: -c/--config
D:\>type test.py import argparse parser = argparse.ArgumentParser(description='Train config file') parser.add_argument('-c', '--config', help='path to config file', required=True) arg = parser.parse_args() config_path = arg.config print(f"Path is {config_path}") D:\>python test.py usage: test.py [-h] -c CONFIG test.py: error: the following arguments are required: -c/--config D:\>python test.py -c c:\windows Path is c:\windows D:\>python test.py --config c:\windows Path is c:\windows
求助一下各位大神,写好的python程序,怎么应用到公众号,意思就是如何在公众号使用写好的python程序,如何建立连接
我要举报该,理由是:
It already told you that
求助一下各位大神,写好的python程序,怎么应用到公众号,意思就是如何在公众号使用写好的python程序,如何建立连接