file size

Keith Murphy kpmurphy at my-deja.com
Fri Sep 8 15:04:04 EDT 2000


how can i get the size of a file in python?

i've done:
	self.logfile = open(filename, 'a')
and i'd like to do this next:
	len_log = self.logfile.size()

...is there something comparable?

thanks,
-->keith


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list