[Zope] remove file from zope filesystem with Python Script

Florent Guillaume fg@nuxeo.com
Tue, 19 Mar 2002 11:56:11 +0000 (UTC)


John Hunter  <jdhunter@ace.bsd.uchicago.edu> wrote:
> Suppose I have a folder object and a string containing the id of a
> file in that folder.  How would I remove a file in that folder on the
> zope filesystem using the Zope API from within a Python Script?

theid='foo'
folder.manage_delObjects(ids=[theid])

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com