don't understand popen2

Kent Johnson kent at kentsjohnson.com
Thu Mar 23 13:21:40 EST 2006


Sion Arrowsmith wrote:
> Try:
> std_out, std_in = popen2.popen2("F:/coding/pwSync/popen_test/testia.py")
> or:
> std_out, std_in = popen2.popen2("F:\\coding\\pwSync\\popen_test\\testia.py")
> (and please avoid the abuse of raw strings for Windows paths).

Why do you consider that abuse of raw strings? It's very easy and 
convenient to copy a path from Windows Explorer and paste it directly 
into a raw string, no editing required.

Kent



More information about the Python-list mailing list