Python sys & os

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>)

This is a draft note.