Shell.py

Anonymous
python
03/03/2022 7:35 PM
252 B
40
Indexable
# put the shell in a sepreate script


import basic

while True:
text = input('basic > ')
result,error = basic.Run('<stdin>', text)

if error: print(error.as_String())
else: print(result)
Editor is loading...