编辑代码

# coding:utf-8
import os
while 1:
    temp = str(input("$"))
    if temp=="exit":
        break
    elif temp=="python":
        eval(str(input("python>>>")))
    else:
        os.system(temp)