Very stupid question.
Sebastjan Trepca
trepca at gmail.com
Thu Mar 30 12:42:40 EST 2006
Check os.stat() function here http://docs.python.org/lib/os-file-dir.html
--
Sebastjan
http://www.trepca.si/blog
On 30 Mar 2006 09:34:32 -0800, Sullivan WxPyQtKinter <
sullivanz.pku at gmail.com> wrote:
>
> In addition, f=file('filename','r');len(f.read()) is quite expensive in
> my point of view, If the file is serveral MB or larger.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060330/16567c54/attachment.html>
More information about the Python-list
mailing list