A
Andy Leszczynski
I have a program which is going to dynamicly load components from some
arbitrary defined paths. How to do that?
A.
arbitrary defined paths. How to do that?
A.
I have a program which is going to dynamicly load components from some
arbitrary defined paths. How to do that?
Simon said:You can locate them with os.walk and fnmatch. Then you can temporarily
add the directory to sys,path, and import using __import__().
import sysAndy said:I have a program which is going to dynamicly load components from some
arbitrary defined paths. How to do that?
A.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.