Created
November 1, 2014 16:54
-
-
Save Strikeskids/cc854568c848ba5419bc 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
while True: | |
cmd = raw_input() | |
noprint =False | |
noexec =False | |
if cmd[0]=='x': | |
noprint=True | |
if cmd[0]=='p': | |
noexec=True | |
if not noexec: | |
print('Executing',cmd[1:]) | |
fin.write(cmd[1:]+'\n') | |
if not noprint: | |
print(fout.readline(),end='') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment