"Dong Li" <[EMAIL PROTECTED]> wrote

If I want to create a text user interface for my application, is there
any existed module to facilitate such building?

Yes, Python includes the cmd module which is a framework
for a menu driven command line. It is very like the help system
that Python uses (also the Python debugger pdb).

try

import cmd
help(cmd)

or look at the module documentation.

--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to