<br><div><span class="gmail_quote">On 3/30/06, <b class="gmail_sendername">Sullivan Zheng</b> <<a href="mailto:sullivanz.pku@gmail.com">sullivanz.pku@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;"><div>Wow, seems I am not that supid. Why python does not include this function in the file object. It is almost a tradition in other languages...</div>
<div> </div>
<div>import os</div>
<div> </div>
<div>os.stat(path).st_size</div>
<div> </div>
<div>really not elegant or OO.<br><br></div></div></blockquote></div><br>True.<br clear="all"><br>-- <br>Sebastjan<br><a href="http://www.trepca.si/blog">http://www.trepca.si/blog</a>