A: 

Try blob.getSize()

Ben
Is not working inside the template.TemplateSyntaxError: Could not parse some characters: file.content.getSize|()||escape
Jader Dias
Don't put () brackets to call the function from the template (`blob.getSize`). http://stackoverflow.com/questions/2039422/django-template-call-function/2039459#2039459
bobobobo
+2  A: 

{{ theblob|length }} if you're using a Django template (as you seem to indicate in a comment, although you give absolutely no indication of this in your question -- I suggest editing the question to add that crucial bit of info!-).

Alex Martelli
Yeah, so its `len( theblob )` essentially
bobobobo
Yes, the `length` filter in Django templates does perform the equivalent of what `len` would do in Python code.
Alex Martelli