Re: [Zope] Accessing Zope REQUEST data from a Python module

2007-12-06 Thread robert rottermann
hi ken, very often you can replace context with self. so instead of context.REQUEST you use self.REQUEST. robert Ken Winter schrieb: I'm customizing a product. To do what I'm trying to do, I need to be able to access REQUEST data from within a Python module (not a script; a .py file containing

Re: [Zope] Accessing Zope REQUEST data from a Python module

2007-12-06 Thread Sascha Welter
(Wed, Dec 05, 2007 at 07:35:22PM -0500) Ken Winter wrote/schrieb/egrapse: I'm customizing a product. To do what I'm trying to do, I need to be able to access REQUEST data from within a Python module (not a script; a .py file containing class and method definitions). Usually REQUEST is handed

[Zope] Accessing Zope REQUEST data from a Python module

2007-12-05 Thread Ken Winter
I'm customizing a product. To do what I'm trying to do, I need to be able to access REQUEST data from within a Python module (not a script; a .py file containing class and method definitions). From within a script, a line like req = context.REQUEST does the job just fine. But when I

Re: [Zope] Accessing Zope REQUEST data from a Python module

2007-12-05 Thread Andreas Jung
--On 5. Dezember 2007 19:35:22 -0500 Ken Winter [EMAIL PROTECTED] wrote: I'm customizing a product. To do what I'm trying to do, I need to be able to access REQUEST data from within a Python module (not a script; a .py file containing class and method definitions). From within a script, a