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
{filelink=16368}

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:

  • python StringVar
  • XMLEventFactory java 6 example
  • create xml python xml document
  • python square root
  • Javamail can't create mail folder
  • run sql server in python
  • python check instance of
  • example of alarm in perl
  • python digital time example
  • python get file sizes in KB

No comments yet.

Leave a Comment