This commit is contained in:
Paul Gauthier 2023-04-07 22:09:30 -07:00
parent 936b390d1d
commit fe13bf069d

View file

@ -39,7 +39,7 @@ AFTER
... new lines to replace them with ... ... new lines to replace them with ...
``` ```
Don't forget the ``` delimiters! ALWAYS USE THE ``` DELIMITERS!
''' '''
prompt_comments = ''' prompt_comments = '''
@ -166,11 +166,18 @@ The contents of the files have been updated!
USE THESE FILES NOW. USE THESE FILES NOW.
MAKE ANY CHANGES BASED OFF THESE FILES! MAKE ANY CHANGES BASED OFF THESE FILES!
''' '''
def run(self): def get_input(self):
print()
print('='*60)
sys.stdout.write('> ') sys.stdout.write('> ')
sys.stdout.flush() sys.stdout.flush()
inp = input() inp = input()
print()
return inp
def run(self):
inp = self.get_input()
prompt = '' prompt = ''
prompt += inp prompt += inp
@ -202,9 +209,7 @@ MAKE ANY CHANGES BASED OFF THESE FILES!
print(err) print(err)
print() print()
sys.stdout.write('> ') inp = self.get_input()
sys.stdout.flush()
inp = input()
if False and self.files_modified(): if False and self.files_modified():
for fname in self.fnames: for fname in self.fnames: