python调试代码
程序员文章站
2024-03-14 15:04:04
...
while True:
command = input('Please input command:')
try:
command = command.split(';')
if len(command)==1:
result = eval(command[0])
if result:
print(result)
else:
exec(command[0])
except Exception as e:
print(e.args)
上一篇: springMVC 获取请求参数
下一篇: Temp