Advertisement
Peaser

subprocess

Jun 3rd, 2015
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. import subprocess
  2. output = subprocess.check_output('dir', shell=True)
  3. print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement