21 Mar
2005
21 Mar
'05
6:24 p.m.
Tino Wildenhain wrote at 2005-3-20 22:05 +0100:
... Looks like you are really looking for some files in context of your external method.
Use something like:
os.path.dirname(os.path.abspath(__file__))
in your module containing the external method.
Note that this works in a normal Python module but not inside an External Method. External Methods are not imported but read. Therefore, they lack the standard module attributes. -- Dieter