25 Nov
2003
25 Nov
'03
8:30 p.m.
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