[Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Nicolas Georgakopoulos
Hello all, I'm developing using ZPT and I need to create a file (CSV format) but I'm having some problems: * 1. *I only know how to create files with python but I get an *Error Type: NameError* *Error Value: global name 'file' is not defined. * I think ZOPE doe's not allow python to

Re: [Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: Hello all, I'm developing using ZPT and I need to create a file (CSV format) but I'm having some problems: * 1. *I only know how to create files with python but I get an *Error Type: NameError* *Error Value: global name 'file' is not defined. Indeed,

Re: [Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Tino Wildenhain
Nicolas Georgakopoulos schrieb: Hello all, I'm developing using ZPT and I need to create a file (CSV format) but I'm having some problems: * 1. *I only know how to create files with python but I get an *Error Type: NameError* *Error Value: global name 'file' is not defined. While I

Re: [Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Chris Withers
(yet again, please CC zope@zope.org in replies..) Nicolas Georgakopoulos wrote: I think I need it... I don't ;-) I have made a web page (ZPT) that a user answer's to a questionnaire , most of the answers are provided by check boxes and radio buttons. When the user submit the answers a mail