Re:Designing command-line interfaces
by reinhardt on Friday August 05, 2011 @04:21PM
(#2851596)
Just use the library. It's a solved problem!
Indeed! In fact it is so solved that the Python standard library has solved it differently 3-4 (I've lost count) times already, let alone the dozen or two extra packages at PyPI ;)
Re:Designing command-line interfaces
by Goladus on Friday August 05, 2011 @05:52PM
(#2851944)
Yeah most of my scripts use OptParse and I'm procrastinating the rewrite for newer versions of python. I think I may just use getopt, which isn't going anywhere, and roll my own extensions if I need them.
Indeed! In fact it is so solved that the Python standard library has solved it differently 3-4 (I've lost count) times already, let alone the dozen or two extra packages at PyPI ;)