9 Apr
2002
9 Apr
'02
9:21 a.m.
Hi! Writing p=open('myfile.txt','r') in a Python module in Extensions folder doesn't work unless you give the whole absolute path for the file: p=open('/usr/zope/2.5.0/Extensions/myfile.txt','r') Is there any way to define relative paths to the files in Extensions, so that my app works in different systems? (I was thinking about accessing the INSTANCE_HOME variable, for example...) Thanks in advance Gari _________________________________________________________ Aurki Euskara hutsezko bilatzailea http://www.aurki.com Zure laguntza behar dugu. Egin zaitez editore!