Archives
Trending
Support
Login
Python run system command and save output to variable
Raw
Download
Revise
#!/usr/bin/env python3 import os tmp = os.popen("ls").read() print(tmp)