执行完毕python之后进入交互模式import codeinterp code.InteractiveConsole(globals())interp.interact
执行完毕python之后进入交互模式
import codeinterp = code.InteractiveConsole(globals())interp.interact("") 执行完毕python之后进入交互模式
import codeinterp = code.InteractiveConsole(globals())interp.interact("")