[Zope] append one file to another
Dieter Maurer
dieter at handshake.de
Tue Nov 25 15:30:26 EST 2003
Jenny Edmondson wrote at 2003-11-25 09:02 +0000:
> How could I append the contents of one zope file to another using Python?
Zope's "File" objects were not designed for an easy append
operation.
You must implement "append" by reading the files content
("str(fileObject)") appending your new content to this string
and then use "manage_upload" to give the file new content.
--
Dieter
More information about the Zope
mailing list