Re: pulling multiple instances of a module into memory
Do you have control over the eggs.so module? Seems to me the best answer is to make the start method return a connection object conn1 = eggs.start('Connection1') conn2 = eggs.start('Connection2') -- http://mail.python.org/mailman/listinfo/python-list
Re: pulling multiple instances of a module into memory
in spam.py, how about something like this: try: eggs.someFunction() except: import eggs -- http://mail.python.org/mailman/listinfo/python-list