On Sat, 13 Feb 2010 10:51:38 am Garry Willgoose wrote:
> I want to be able to import multiple instances of a module and call
> each by a unique name and it doesn't appear at first glance that
> either import or __import__ have what I need.
No, such a thing is not officially supported by Python.
"Garry Willgoose" wrote
I want to be able to import multiple instances of a module and call each
by a unique name and it doesn't appear at first glance that either import
or __import__ have what I need.
No because it would be bad practice.
Stateful modules lead to hard to debug prolems.
I want to be able to import multiple instances of a module and call
each by a unique name and it doesn't appear at first glance that
either import or __import__ have what I need. I need this because of
computing platform I have developed where users write python scripts
to do some analysis