Advertisement
rfmonk

ospath_properties.py

Jan 26th, 2014
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. import os.path
  2. import time
  3.  
  4. print 'File          :', __file__
  5. print 'Access time   :', time.ctime(os.path.getatime(__file__))
  6. print 'Modified time :', time.ctime(os.path.getatime(__file__))
  7. print 'Change time   :', time.ctime(os.path.getatime(__file__))
  8. print 'Size          :', os.path.getsize(__file__)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement