Y
Hacker News
new
|
ask
|
show
|
jobs
by
clownz0r
5395 days ago
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