On 5/26/05, Andy Leszczynski
<[EMAIL PROTECTED]> wrote:
> I have a program which is going to dynamicly load components from some
> arbitrary defined paths. How to do that?

You can locate them with os.walk and fnmatch. Then you can temporarily
add the directory to sys,path, and import using __import__().

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to