configargparse - reading option from config only

Loris Bennett loris.bennett at fu-berlin.de
Fri Aug 27 03:40:45 EDT 2021


tuxifreund <kaiser.barbarossa at yandex.com> writes:

> 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?

I have used the combination of argparse and configparser before.
However, I was hoping to just use configargparse instead.

Cheers,

Loris


>
> Cheers
>
>
> [1]: https://docs.python.org/3/library/argparse.html
> [2]: https://docs.python.org/3/library/configparser.html
-- 
Dr. Loris Bennett (Hr./Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de


More information about the Python-list mailing list