8 Nov
2004
8 Nov
'04
5:10 p.m.
I am writing a Python Script and I am trying to get the size of an uploaded file. Does anyone know what I should use? I thought that I could use len() but I was getting an error using it. Thanks. laura
8 Nov
8 Nov
5:16 p.m.
New subject: [Zope] Python question
--On Montag, 8. November 2004 11:10 Uhr -0600 Laura McCord <Laura.McCord@doucet-austin.com> wrote:
I am writing a Python Script and I am trying to get the size of an uploaded file. Does anyone know what I should use? I thought that I could use len() but I was getting an error using it.
data = uploaded_file.read() print len(data) *must* work. -aj
7818
Age (days ago)
7818
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andreas Jung -
Laura McCord