[Zope] FileUpload get_size() method?

Jonathan Cyr cyrj at cyr.info
Tue Oct 25 17:11:05 EDT 2005


Thanks for your time, much appreciated.

-Jon

Tino Wildenhain wrote:

>Am Dienstag, den 25.10.2005, 16:42 -0400 schrieb Jonathan Cyr:
>  
>
>>I think I get it, except...
>>
>>What's the meaning of 1<<20, I'm not familar with that operator.  How
>>would I adjust it for different sizes?  
>>    
>>
>
>Well, you could (and should!) study the python documentation.
>But this one is only an example. You can write the maximum
>however you want, as literal value: 1000000 or
>1e+6 or 1000*1000 or 10**6 ...
>
>If you have an imagination of what value you want, just write it
>there :-)
>
>
>
>
>  
>

-- 
Jonathan Cyr
cyrj at cyr.info

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20051025/adea6da6/attachment.htm


More information about the Zope mailing list