-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument parsing #7
Comments
Excellent - I was just thinking the other day that I should switch to On Wed, Feb 20, 2013 at 12:00 AM, Leonidas Moustakas <
|
Another nice option is docopt. It's my current favourite! It's nice because it forces you to always keep the documentation up to date. |
Well, I certainly approve of that. On Wed, Feb 20, 2013 at 1:36 PM, Dan Foreman-Mackey <
|
I have had really good success using argparse for flexible command line parsing, which will allow for arguments to be passed pretty painlessly from a %run command within ipython, from a terminal command line, or with the routine as an executable (as long as you have the usual #!/usr/bin/env python line in the routine).
(These are edits that I'm planning on doing on my clone of this project, unless you beat me to it).
The text was updated successfully, but these errors were encountered: