Simple Python Sandbox

Gregory Ewing greg.ewing at
Sun Aug 22 02:56:18 CEST 2010

Stephen Hansen wrote:

> Me, I'm going to go farther on my own installation and kill import
> entirely, and do a sort of require() which returns a special proxied
> version of an imported module

Note that you can install an __import__ function in the
builtins to provide this kind of functionality while still
allowing scripts to use the normal import syntax.


More information about the Python-list mailing list