__import__ function broken in 2.6
frank at chagford.com
Sun Apr 26 11:31:00 CEST 2009
On Apr 25, 11:37 pm, Paul <Paul22... at gmail.com> wrote:
> It seems in 2.6 you are no longer able to use the __import__ function
> with different paths.
I did not study your code in detail, so I may have missed something,
but can't you use the 'imp' module for this? That still works in 2.6,
and seems to be present in 3.1 as well.
More information about the Python-list