3

Is there any boost::program_options like module for python

Akhil
  • 2,269
  • 6
  • 32
  • 39
  • 1
    It would be helpful if you said what the module actually did. Don't assume python programmers are familiar with 3rd party C++ libraries. – Tyler Eaves Jan 20 '11 at 15:25

1 Answers1

6

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

Andrew Jaffe
  • 26,554
  • 4
  • 50
  • 59