Created
October 4, 2017 12:39
-
-
Save ollybritton/81d4bef99d57f99a9e0745b589a04487 to your computer and use it in GitHub Desktop.
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
from os import *while True: system("cls") option = raw_input("What would you like to do? Type 'c' for command prompt or 'm' to run os commands in general >> ") if option == "m": | |
while True: command = raw_input("Type 'esc' to escape at any time >> ") if command.lower() == "esc": break | |
exec(command) | |
else: while True: command = raw_input("Type 'esc' to escape at any time >> ") if command.lower() == "esc": break | |
system(command) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment