I'm afraid that I've spoiled the "try_python" working by means of executing the sentence: open("try.py").write("\n") Sorry. I hope it don't be difficult for you to restore the module again to the default folder. In any case, I think it should include some control for malicious code like that one.