编辑器
import code interp = code.InteractiveInterpreter() print(isinstance(interp, code.InteractiveInterpreter))
True