Created
September 8, 2011 20:12
-
-
Save bassdread/1204542 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> f = open('tmp.ls', 'w') | |
>>> f | |
<open file 'tmp.ls', mode 'w' at 0x1a899c0> | |
>>> p = Popen(args,stdout=f) | |
>>> p | |
<subprocess.Popen object at 0x1af5190> | |
>>> f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment