[Zope] binary math & filesize
Dario Lopez-Kästen
dario@ita.chalmers.se
Tue, 5 Sep 2000 21:09:06 +0200
> Kapil Thangavelu wrote:
>
> > http://www.zope.org/Members/ZQR
> >
> > get size in kbs assuming its an int
> >
> > <dtml-var "get_size/1000">
>
> <dtml-var "get_size/1024">
>
> pedantically yours,
> --
> ethan mindlace fremen
> Zopatista Community Liason
> Abnegate I!
actually it turns out to be
<dtml-var "size/1024">
get_size and getSize do not work for files (for reasons unknown to me; I am
a Zope newbie :-). haven't tried for any other objects.
Anybody knows more about the DateTime issues I posted about earlier?
/dario
- --------------------------------------------------------------------
Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology
dario@ita.chalmers.se ICQ will yield no hits IT Systems & Services