Equivalent of Bash Backticks in Python [duplicate]

output = os.popen('cat /tmp/baz').read()

Leave a Comment