[Zope] (no subject)

Abraham Arellano Tavara zinoland at hotmail.com
Thu Jun 3 14:11:08 EDT 2004


Hi my name is Abraham and i have a problem using open in the external 
methods in zope. I need open a file in the same folder where is the 
referencing of the external method in the zope interface, but it doesn't 
work because i should use an absolute path in the open. Which is this 
absolute path?

def abrirArch():
	path = "correo/otros/listas.txt"???

	f=open( path??? ,"ra")
	linea = f.readLine()
	f.close
	return (linea)

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/




More information about the Zope mailing list