[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Very stupid question.
From:       Jorge Godoy <godoy () ieee ! org>
Date:       2006-03-30 17:45:32
Message-ID: 87psk3ddxf.fsf () ieee ! org
[Download RAW message or body]

"Sullivan WxPyQtKinter" <sullivanz.pku@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@ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic