[Zope] how to open a file out of Zope and write into it?

leiz@esiee.fr leiz@esiee.fr
Wed, 18 Jun 2003 18:01:01 +0300


hello everyone!

I want to open a file out of Zope and write something into it,and I
have done one program Python, but the error message is: global name
'open' is not defined. I don't known why. would you please help me? 
thank you!

this is my program python
-----------
request = container.REQUEST
RESPONSE =  request.RESPONSE


fd=open('c:/file.txt', 'w')
fd.write('hello')

fd.close()