Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pythonbash.py
- import os
- while True:
- try:
- cmd = raw_input("Python Bash >>> ")
- if cmd == 'stop': break
- os.system(cmd)
- except EOFError:
- print EOFError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement