[Zope] format file size with getSize()

Dieter Maurer dieter@handshake.de
Thu, 15 Nov 2001 22:24:13 +0100


Mike Doanh Tran writes:
 > Does anyone know how to format file size with the getSize() method?  I want 
 > to have my file size display in MB.
You can use Python formating operator '%'.
Please see the Python documentation for details.


Dieter