On Aug 29, 2007, at 10:19 PM, skip at pobox.com wrote: > You can achieve these sorts of effects by assigning an object to > sys.modules[modulename]. Only for imports that haven't happened yet, which tends to be fragile. -Fred -- Fred Drake <fdrake at acm.org>