[Tutor] reassigning/replacing sys.stdout
Kent Johnson
kent37 at tds.net
Tue Jan 30 18:54:06 CET 2007
Tony Cappellini wrote:
> That would be ideal- but I'm using 2.4 now, and the people using the app
> would also have to upgrade to 2.5.
> I don't like upgrading unless there's a pressing need.
subprocess was added in Python 2.4. Older Python versions have similar
functionality in os.popen* and popen2.
Kent
> On 1/30/07, *Danny Yoo* <dyoo at hkn.eecs.berkeley.edu
> <mailto:dyoo at hkn.eecs.berkeley.edu>> wrote:
> It sounds like the subprocess module might be very useful here:
>
> http://www.python.org/doc/lib/node529.html
More information about the Tutor
mailing list