Last active
February 28, 2018 11:55
-
-
Save oilbeater/cc03ee9210e2e8af6fba to your computer and use it in GitHub Desktop.
python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// use shell command | |
import subprocess | |
output = subprocess.check_output('dir', shell=True) | |
print(output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment