size of a file

Andrew akaspick at sympatico.ca
Sat Aug 4 18:39:30 EDT 2001


Doesn't os.path.getsize(file) do the trick?

"Janos Blazi" <jblazi at hotmail.com> wrote in message
news:3b5dd418_8 at news.newsgroups.com...
> How can I find out the length of a file. I have a descriptor fd of the
file
> (I am using the os module).
>
> Janos Blazi
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----==  Over 80,000 Newsgroups - 16 Different Servers! =-----





More information about the Python-list mailing list