|  |  | Python Library Reference |  |  |

Previous: 6.8.3 Replacing Older Functions Up: 6.8.3 Replacing Older Functions Next: 6.8.3.2 Replacing shell pipe

### 6.8.3.1 Replacing /bin/sh shell backquote

    output=`mycmd myarg`
    ==>
    output = Popen(["mycmd", "myarg"], stdout=PIPE).communicate()[0]

|  |  | Python Library Reference |  |  |

Previous: 6.8.3 Replacing Older Functions Up: 6.8.3 Replacing Older Functions Next: 6.8.3.2 Replacing shell pipe

Release 2.4, documentation updated on 30 November 2004.