Very stupid question.

Jorge Godoy godoy at ieee.org
Thu Mar 30 12:45:32 EST 2006


"Sullivan WxPyQtKinter" <sullivanz.pku at gmail.com> writes:

> How to get the length of a file via build-in file object support? In
> Visual Basic there is len(file) of something like that. But in python,
> where is this property?
>
> Sorry for this stupid question, if it is.

pydoc os    and then look for "stat"...  In "stat_result" there's a
description of the tuple you'll get.

-- 
Jorge Godoy      <godoy at ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.



More information about the Python-list mailing list