On 07/07/2009 04:47 PM, Andreas Jung wrote:
> How about seek()ing to the end of the blob and then using tell() for getting
> the position?
>    
Yup.

An opened blob is just a regular file handle. So the same applies as to 
normal files:

 >>> f = open('asdf')
 >>> t.seek(0, 2)
 >>> t.tell()
35L

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh&  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to