configargparse - reading option from config only

tuxifreund kaiser.barbarossa at yandex.com
Thu Aug 26 16:27:00 EDT 2021


Hello,

you could use the argparse module[1] to parse command line arguments and 
configparser[2] to parse configuration files following the ini file 
structure. Is that what you are expecting?

Cheers


[1]: https://docs.python.org/3/library/argparse.html
[2]: https://docs.python.org/3/library/configparser.html


More information about the Python-list mailing list