[Zope] Batch folder creation

David H bluepaul at earthlink.net
Wed Jun 22 13:49:07 EDT 2005


John Poltorak wrote:

>Is there any way to create folders in batch?
>
>I need to create around 50 but don't fancy doing this manually.
>
>
>  
>
John,

Put this in a python script and test.

for n in range(10):
   container.manage_addFolder(id= str(n))

David



More information about the Zope mailing list