Re: [Python] import module in current path?

Date : Thu, 12 Apr 2007 10:27:57 -0400
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: [Python] import module in current path?
Put this in the running script:

import win32com
Application = win32com.client.Dispatch( 'XSI.Application' )
Application.logmessage( __file__ )


Cheers Bernard




On 4/12/07, Agedito <mislistas(at)agedito.com> wrote:
Thanks for the answer Bernard

I know that you can modify the path on runtime, but how can I know the path
where the file is executed?

Regards

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


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.