File object question

S. D. Rose s_david_rose at
Thu Dec 22 22:12:58 CET 2005

Hello all.
  If I read a binary file:

file = open('c:\\logo.gif', 'rw'') # Read from FS as one way to get the
object, d/l from website another...

is there anyway I can determine the 'size' of the object file? (Without
going to the filesystem and reading the filesize from the directory ...)


More information about the Python-list mailing list