Marin/definitions.py

9 lines
162 B
Python

### Fonctions communes
def read(path):
# Retourne le contenu texte d'un fichier
f = open(path,'r')
result = f.read()
f.close()
return result