News for hackers. Stuff that matters.
Re:When being idiomatic wears you out by clownz0r on Monday September 05, 2011 @06:21AM (#2961783)
Perhaps I'm misunderstanding what you wanted to do, but is there a reason you can't use os.path.getsize?

http://docs.python.org/library/os.path.html#os.path.getsize

There are no comments on this comment yet.