| 12345678910111213141516171819202122 |
- """
- Fonction qui sort la valeur a une date précise
- """
- from Config.paths import *
- def listeAction():
- try:
- with open(Path_FichierAction, 'r') as file:
- actions = [line.strip() for line in file.readlines()]
- return actions
- except:
- print(f"Erreur listeAction: Le fichier {Path_FichierAction} est introuvable.")
- def NombreActionFichier():
- try:
- with open(Path_FichierAction, 'r') as file:
- actions = [line.strip() for line in file.readlines()]
- return (len(actions))
- except:
- print(f"Erreur NombreActionFichier: Le fichier {Path_FichierAction} est introuvable.")
|