[Zope] Iterating through object properties

Paul Winkler pw_lists@slinkp.com
Tue, 27 Aug 2002 06:49:41 -0700


On Tue, Aug 27, 2002 at 09:41:55AM -0400, Kevin Carlson wrote:
> It looks like the "dir" function will do what I need it to do, but I'm
> curious about something:  I can't seem to call this function inside a Python
> script.  Do I have to use an external method for this function?  If so, why?
> It's a python built-in and other built-in functions allow calling from
> python scripts...

Read the Zope book sections on python scripts: they have strict security
restrictions on what can be imported. External methods do not.

--PW
-

Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"