For command line parsing, take a look at the shlex module, also in the standard distro. It may fit your requirements for additional functionality beyond cmd.
/Jean Brouwers PS) We use SimpleParse/mxTextTools for parsing large log files, both are listed on the web page mentioned below. In addition, check out David Mertz' web pages 'Text Processing in Python' at <http://gnosis.cx/TPiP/> In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Jerry Sievers wrote: > > > Curious if there exists in Python package(s) for use as lexer/parser > > for implementation of language grammars? > > (s) indeed: > > http://www.nedbatchelder.com/text/python-parsers.html > > </F> -- http://mail.python.org/mailman/listinfo/python-list