"Rikard Bosnjakovic" <[EMAIL PROTECTED]> wrote

>> How can I get python to display
>> the results in the interactive window or what is the right way to 
>> do this.
>
> Use os.popen:

As Rikard, Richard and Hugo have pointed out there are
numerous ways to do this in Python.

The officially sanctioned way nowadays is to use the subprocess
module. It supercedes all tthe previous methods being both more
powerful, more flexible and fairly easy to use.

All the techniques are discussed in my Using the OS topic in
my tutorial.

HTH,

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


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

Reply via email to