Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: Get size in bytes of a file

Python: Get size in bytes of a file

import os
print os.path.getsize("FindFile.py")
print os.stat("FindFile.py")[6]
print os.stat("FindFile.py").st_size

Users who found this page were searching for:

  • example of alarm in perl
  • XMLEventFactory java 6 example
  • how to define a subclass in python
  • python check instance of
  • python square root
  • create xml python xml document
  • python StringVar
  • python get file sizes in KB
  • python digital time example
  • Javamail can't create mail folder

No comments yet.

Leave a Comment