Hmmm, then you might want to consider using the imp module's functions "find_module" and "load_module". That way you will be able to explicitly specify the plugin directory without modifying sys.path. -----Original Message----- From: python-list-admin at python.org [mailto:python-list-admin at python.org]On Behalf Of Rob Brown-Bayliss Sent: Sunday, April 15, 2001 12:25 PM To: Brian Quinlan Cc: python-list at python.org Subject: RE: how to import from variable source On 15 Apr 2001 01:11:45 -0700, Brian Quinlan wrote: > There is probably a better strategy but it is hard to guess what that would > be based on the information given. Thank's this looks good... What I am trying to do is create a pluing system, my app is really just a plugin manager for the sub modules. All (95%) functionality will come from the imported modules -- Rob Brown-Bayliss ---======o======--- www.ZOOstation.cc -- http://mail.python.org/mailman/listinfo/python-list
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4