win32- system call - getting results back into python

runes rune.strand at gmail.com
Sat May 7 14:21:30 EDT 2005


You wil have to use r"svnlook log \arms") or "svnlook log \\arms") to
escape the "\".

Popen usually return a file-like object, so you maye to use file
methods like .read()

ex:
d = os.popen('dir /b')
print d.read()




More information about the Python-list mailing list