python模块提供boost :: program_option之类的功能

Akh*_*hil 2 python module boost-program-options

有什么boost :: program_options就像python的模块一样

And*_*ffe 6

对于命令行选项,您可以使用argparse或(不建议使用)optparse或(甚至更旧)getopt.对于配置文件,有ConfigParser.