[Zope] setting a title to all objects in a folder?

siva k mannis2000 at hotmail.com
Wed Dec 27 12:38:21 EST 2006


Hello,

Absolute newbie to python here. I try to set the SAME title to ALL the files 
in a
zope folder using a python script.  The code below is not working... no idea 
why

def setfiletitle(folder,title):
    myfolder = getFolder(folder)
    for file in myfolder:
            setTitle(title)



could you please say where did i go wrong?

Thanks

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Zope mailing list