Le Tue, 07 Jul 2009 16:54:07 +0200, Christian Theune a écrit :

> 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

Thanks.
Regards,
Stephane

_______________________________________________
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