Is there a way to "inject" something into a module right before it's loaded?
For instance, a.py defines "foo". b.py print()s "foo". I want to load b.py into a.py, but I need to let b.py know about "foo" before it can execute. Is this any way to achieve this? -- Jonas
-- http://mail.python.org/mailman/listinfo/python-list