Re: [Tutor] Using __import__ and byte-compiling

2007-02-05 Thread Tim Johnson
I should add one thing: If the source module is in the same directory, it *is* byte-compiled. thanks tim On Tuesday 06 February 2007 03:46 pm, Tim Johnson wrote: > I am currently using the __import__ function to do > conditional importing of modules, whose names are determined > at runtime. > > It

[Tutor] Using __import__ and byte-compiling

2007-02-05 Thread Tim Johnson
I am currently using the __import__ function to do conditional importing of modules, whose names are determined at runtime. It appears the __import__ does not handle byte-compiling, or at least it is not being done in my current implementation. From reading the __import__ documentation, I don't s