Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 7
    Popen doesn't open a temporary file. It runs an external program and provides references to its standard input/output/error. Even so, the value of the pid attribute isn't going to change simply because the process that used to use that ID has completed.
    – chepner
    Commented Sep 19, 2013 at 13:58
  • 2
    Erm, subrocess.Popen doesn't open a file - check the docs Commented Sep 19, 2013 at 13:58