Re: [Tutor] How to pass a python variable to subprocess.call?

2010-10-25 Thread Abhijeet Rastogi
e that. How do I replace /usr/local/bin in the subprocess call with the mydir > variable? > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/t

Re: [Tutor] subprocess Popen PIPE error

2010-10-26 Thread Abhijeet Rastogi
;", line 1, in ? > File "/usr/lib64/python2.4/subprocess.py", line 550, in __init__ >errread, errwrite) > File "/usr/lib64/python2.4/subprocess.py", line 993, in _execute_child >raise child_exception > OSError: [Errno 2] No such file or directory > _

Re: [Tutor] subprocess Popen PIPE error

2010-10-26 Thread Abhijeet Rastogi
pect. > > Would this be easier to accomplish using os.listdir()?. Basically I > want to make a list of directories, excluding files and the > directories or files containing "deploy" and "TEMPLATE". > -- Abhijeet Rastogi (shadyabhi) http://www.google.com/profil

Re: [Tutor] syntax error that i cant spot!

2011-01-01 Thread Abhijeet Rastogi
x27;s simple but > i've looked for ages and cant spot it! > > Regards > Pete > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > &g