> - I am trying to call up an external program
> with something like a "Shell" command - can not find a way of doing
this
> (in windows)

Look in the os module, there are several options depending on exactly
what you need to do. The simplest option is system(). To read the
output look at the various popen() and for more sophisticated options
try the exec() family.

If using system() on DOS you might look at the START DOS command
too for the options available there.

HTH,

Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to