Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # io_filesize.py
- import os
- statinfo = os.stat('C:\Windows\explorer.exe')
- print statinfo
- print
- print statinfo.st_size, 'bytes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement