J Cameron Cooper wrote:
Yes, forgot that caveat. For large files, 'data' can return a "Pdata", a
list of strings. For small files, it returns a string. Always doing
'str' is a good idea.
Well, there's a reason for PData ;-)
str'ing a large file will use lots of memory...
str'ing lots of large files in one transaction will topple your machine!
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )