当前位置: 首页 > 工具软件 > Docopt > 使用案例 >

docopt.DocoptLanguageError: “usage:“ (case-insensitive) not found.

仇炜
2023-12-01

arguments = docopt(doc) 报错:

docopt.DocoptLanguageError: “usage:” (case-insensitive) not found.

“”"
“”"
直接添加Usage:,Options:等说明。
例:
“”"
Using multilayer perceptron (MLP) and ensemble learning to classify the ASD and TC based on single brain atlas.
Usage:
nn_evaluate.py [–folds=N] [–whole] [ …]
nn_evaluate.py (-h | --help)
Options:
-h --help Show this screen
–whole Prepare data of the whole dataset
derivative Derivatives to process
“”"

 类似资料: