On 2013-06-27, Jason Swails <jason.swa...@gmail.com> wrote:

> He _is_ using cmd.  He's subclassed cmd.Cmd and trying to use
> argparse to handle argument parsing in the Cmd.precmd method to
> preprocess the user input.

[...]

> Having subclassed cmd.Cmd myself in one of my programs and written my
> own argument parsing class to service it, I can appreciate what the
> OP is trying to do (and it's clever IMO).

Unfortunately, when writing software, being "clever" turns out to be A
Bad Thing(tm) as often as not.  ;)

-- 
Grant Edwards               grant.b.edwards        Yow! ... I want to perform
                                  at               cranial activities with
                              gmail.com            Tuesday Weld!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to