Last modified on 01 Oct 2021.

Library

import os, sys

Append path to the environnement

sys.path.append('../') # the path of current file's father

Get files’ info

# LIST OF ALL FILES
file_path = '.' # current dir
os.listdir(file_path)
# The last modification
os.path.getmtime(<full-path-to-file-name>)

Notes with this notation aren't good enough. They are being updated. If you can see this, you are so smart. ;)