[Zope] users, properties and roles
John Hunter
jdhunter at ace.bsd.uchicago.edu
Thu Jun 17 11:51:29 EDT 2004
>>>>> "Terry" == Terry Hancock <hancock at anansispaceworks.com> writes:
Terry> I know this is going to come as a shocker, but it's called
Terry> "container". :-D
Terry> Seriously, if you want the folder in which a Python Script
Terry> is located, you want "container". If you want the folder
Terry> in whose context the script was called (i.e. by
Terry> acquisition), then you want "context".
Terry> So, in fact you just wrote what you need -- try it as is.
Sorry I wasn't being clear. I am not using a python script, but
writing python in my Products folder. In this space, the magic
container and context are not available AFIK, so I was using them by
analagy. I believe what I am looking for is
self.aq_parent
Thanks!
JDH
More information about the Zope
mailing list