18 Jul
2003
18 Jul
'03
2:35 p.m.
Michael Bleijerveld wrote:
file = container.REQUEST.form['FILE'] filesize = len(file.read()) When getting the size of large files it takes a long time to calculate.
Is there another (fast) way to get the filesize in a python script ?
What do you need to know the length of the file for? cheers, Chris