We Recommend

Learning Python Learning Python
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimentation.


Posted By

sgraber on 01/14/08


Tagged

python plone folder Objects zope


Versions (?)


Get All Objects in a Folder


Published in: Python 


URL: http://www.plope.com/Books/2_7Edition/BasicScripting.stx

  1. #The objectValues() method returns a list of objects contained in a folder.
  2. # If the context happens not to be a folder, nothing is returned
  3.  
  4. objs = context.objectValues()

Report this snippet 

You need to login to post a comment.