I'm wondering if this (snipped from another poster) 1. Look at module cmd in the Python standard library if you have not already. (see http://docs.python.org/lib/module-cmd.html)
would be used for something like a built in console found in alot of games? On 12/1/06, Tony Cappellini <[EMAIL PROTECTED]> wrote:
I"m writing a cmd line program which will automate getting some modules out of cvs, based on some input criteria. Initiallly, I will do a cmd line version, but would like to make a gui version later with QT. I would like to find out how to structure the program so that when the gui version is finised, it will still be fully functional in cmd line mode (without gui). The gui itself will be very simple- A listbox, and button or two. python program.py would run incmd line mode python program.py -g would run in gui mode. How difficult is this to do? Can anyone think of a simple example of a python app that runs in gui mode & cmd line mode? thanks _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor