CommandLineApp by Doug Hellmann

22 February 2008   0 comments   Python

Mind That Age!

This blog post is 9 years old! Most likely, its content is outdated. Especially if it's technical.

Powered by Fusion×

I just read the feature article "Command line programs are classes, too!" by Doug Hellmann in the January 2008 issue of Python Magazine about his program CommandLineApp and I've tried it out on one of my old Python programs where I do the opt parsing manually with getopt. The results are beautiful and quick. It's sprinkled with Doug specific magic but I quickly got over that when I saw out easy it was to work with. There are still a few questions of things I didn't manage to work out but that will unfortunately have to wait.

If anything, the worst thing about this library is that it's not part of the standard library so either you have to tell people to sudo easy_install CommandLineApp in the instructions or include it yourself in your packages if you prefer to ship things with a kitchen sink included.

If you want to check it out in action, either subscribe to the magazine (and support the effort) or just download csvcat


Thank you for posting a comment

Your email will never ever be published

Related posts

If Americans knew - An interesting insight into the Israeli Palestine conflict 12 February 2008
Next: - Look up the location from an IP 01 March 2008
Related by Text:
Jed Tags with ntags (for dummies) 11 February 2006
Make your own 3-D pictures 31 July 2004
Newsletters I enjoy for work 03 March 2015
Wing IDE versus Jed 11 December 2008
Geeking with tags file for Jed 29 May 2006