Advertisement
here2share

# io_filesize.py

May 8th, 2015
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. # io_filesize.py
  2.  
  3. import os
  4. statinfo = os.stat('C:\Windows\explorer.exe')
  5. print statinfo
  6. print
  7. print statinfo.st_size, 'bytes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement