Re: [Tutor] How To structure a program for cmd line mode & gui mode

2006-12-01 Thread Chris Hengge
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 PR

Re: [Tutor] How To structure a program for cmd line mode & gui mode

2006-12-01 Thread Dave Kuhlman
On Fri, Dec 01, 2006 at 12:21:33AM -0800, Tony Cappellini 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

Re: [Tutor] How To structure a program for cmd line mode & gui mode

2006-12-01 Thread Alan Gauld
"Tony Cappellini" <[EMAIL PROTECTED]> wrote > 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 For complex GUIs this can be quite difficult since GUIs are essentially stateless and command li

[Tutor] How To structure a program for cmd line mode & gui mode

2006-12-01 Thread Tony Cappellini
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 fi