[Tutor] Single Backslash (was 'DOS Commands?')
James.Rocks@equant.com
James.Rocks@equant.com
Mon Nov 11 09:18:03 2002
Hi Magnus,
Hi James!
> There's a tiny bug left. Hope it'll work once that's
> fixed.
> > popen(sDOSCommand, 'w').readlines()
> This should be
> popen(sDOSCommand).readlines()
> Just skip the 'w'. You *read* from the file descriptor,
> right? So why do you open it with 'w'?
Excellent! Thanks alot Magnus, it works excellently now :-)
I still want to migrate it into python completely (using the ftplib module)
which I assume will make the code more platform independent.
I really appreciate your help :-)
James C. Rocks
Equant
Archway House
Canary Wharf
London E14 9SZ