Popular recipes tagged "option" but not "argparse"http://code.activestate.com/recipes/tags/option-argparse/2011-05-13T13:53:56-07:00ActiveState Code RecipesGet a list from a ConfigParser option (Python)
2011-05-13T13:53:56-07:00Georges Martinhttp://code.activestate.com/recipes/users/4177973/http://code.activestate.com/recipes/577694-get-a-list-from-a-configparser-option/
<p style="color: grey">
Python
recipe 577694
by <a href="/recipes/users/4177973/">Georges Martin</a>
(<a href="/recipes/tags/configparser/">configparser</a>, <a href="/recipes/tags/list/">list</a>, <a href="/recipes/tags/option/">option</a>).
Revision 2.
</p>
<p>Return a list from a ConfigParser option. By default, split on a comma and strip whitespaces.</p>
Command Line Options and Args Hate'em? Me Too! (Python)
2010-06-03T19:16:43-07:00AJ. Mayorgahttp://code.activestate.com/recipes/users/4173476/http://code.activestate.com/recipes/577238-command-line-options-and-args-hateem-me-too/
<p style="color: grey">
Python
recipe 577238
by <a href="/recipes/users/4173476/">AJ. Mayorga</a>
(<a href="/recipes/tags/option/">option</a>, <a href="/recipes/tags/optionparser/">optionparser</a>, <a href="/recipes/tags/option_parsing/">option_parsing</a>).
Revision 5.
</p>
<p>I am all about trying to make development easier and reduce mundane tasks, especially
dealing with commandline args and getopt, OptParse, argparse sorry just not a fan. Argparse-cli
is really cool if you want low level control. I just got tired of writing tons of conditionals, labels, limited type handling, and having to do all of it over and over for every commandline project so help end the madness I wrote PyOpts. </p>