Nothing prevents you from modifying the Python paths at runtime.
In the running script, import the sys module. Then do
sys.path.path( "the path" )
Then you can perform the import.
Cheers
Bernard
On 4/11/07, Agedito <mislistas(at)agedito.com> wrote:
Hello
How can I import a module that is in the same path of the running-script?
I try it but if the path isn't in the sys.path I can't import it. Is
possible in anyway?
Thanks in advanced
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi