[Python] import module in current path?

Date : Thu, 12 Apr 2007 06:38:10 +0200
To : "Lista XSI" <xsi(at)Softimage.COM>
From : "Agedito" <mislistas(at)agedito.com>
Subject : [Python] import module in current path?

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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.