cyberco wrote: > I want to import a long list of modules in a separate thread to speed > things up. How can I make the modules imported in that separate thread > accessible outside the method?
Sounds like premature optimization. Speed "things" up? What things? How long is it taking now to load the modules you are loading? Even the wxPython demo takes only a few seconds to load on a decent machine, and that's loading a *heck* of a lot of stuff. (And it takes the conventional approach to this issue too, which is to display a splash screen while things load.) -Peter -- http://mail.python.org/mailman/listinfo/python-list