CCCPaste

Python run system command and save output to variable

#!/usr/bin/env python3
import os
tmp = os.popen("ls").read()
print(tmp)