Guest User

Untitled

a guest
Jul 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import os
  3. import datetime
  4. list = os.listdir(".")
  5. for file in list:
  6.     date = datetime.datetime.fromtimestamp(os.stat(file).st_mtime)
  7.     print file, date
Add Comment
Please, Sign In to add comment