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?
=========================== import os # import rest in a separate thread def importRest(): import audio import socket thread.start_new_thread(importRest,()) # audio.somemethod() would fail here =========================== -- http://mail.python.org/mailman/listinfo/python-list