Shell re-direction

2005-03-20 Thread Mike Gould
Hi all, I have a very strange problem with the output run from commands run via os.system(). If the python script is run without re-direction the output appears as expected, but if I re-direct the output from the script the output gets re-ordered. For example given the following script: import

Re: Variable Variable

2005-03-20 Thread Mike Gould
Premshree Pillai wrote: On Sat, 19 Mar 2005 04:35:47 -0500, Leif K-Brooks <[EMAIL PROTECTED]> wrote: Tanteauguri wrote: Hi List, is there in python a variable variable like in PHP ($$var)? What I want to do is something like that: pc=["a","b","c"] for i in pc: i = anyclass() a.shutdown() b.updat