Andrew Milton escribió:
+-------[ David Bear ]----------------------
| Can anyone show me code examples of a script that checks for the
| existences of a named object?

if namedObject in container.objectIds():
  # object exists
  # doesn't

Checks for named object inside the container that the script is in.

hasattr(container, 'id')

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to