|  |  | Python Library Reference |  |  |

Previous: 17.1.3 Replacing Older Functions Up: 17.1.3 Replacing Older Functions Next: 17.1.3.2 Replacing shell pipe

### 17.1.3.1 Replacing /bin/sh shell backquote

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

|  |  | Python Library Reference |  |  |

Previous: 17.1.3 Replacing Older Functions Up: 17.1.3 Replacing Older Functions Next: 17.1.3.2 Replacing shell pipe

Release 2.5.3, documentation updated on 19th December, 2008.