Advertisement
here2share

pythonbash.py

Jul 27th, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. # pythonbash.py
  2.  
  3. import os
  4.  
  5. while True:
  6.     try:
  7.         cmd = raw_input("Python Bash >>> ")
  8.         if cmd == 'stop': break  
  9.         os.system(cmd)
  10.     except EOFError:
  11.         print EOFError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement