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

Reply via email to