Eric Snow added the comment: You could add the following to the bottom of this.py: import sys del sys.modules['this'] ---------- nosy: +eric.snow _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19499> _______________________________________