def forget(modname):
unload(modname)<EOL>for dirname in sys.path:<EOL><INDENT>unlink(os.path.join(dirname, modname + '<STR_LIT>'))<EOL>unlink(os.path.join(dirname, modname + '<STR_LIT>'))<EOL><DEDENT>
Forget" a module was ever imported by removing it from sys.modules and
    deleting any .pyc and .pyo files.