Guest User

Untitled

a guest
Dec 13th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import os
  2.  
  3. target_dir = "some path"
  4. files = os.listdir(target_dir)
  5. for _file in files:
  6. _path = os.path.join(target_dir, _file)
  7. statinfo = os.stat(_path)
  8. print(str(statinfo.st_mtime))
Add Comment
Please, Sign In to add comment