سؤال

Is there any boost::program_options like module for python

هل كانت مفيدة؟

المحلول

For command-line options, you can use argparse or (deprecated) optparse or (even older) getopt. For config files, there's ConfigParser.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top