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()