Obtenez du texte à partir du fichier txt python
with open ("data.txt", "r") as myfile:
data = myfile.read().splitlines()
TheProgrammer
with open ("data.txt", "r") as myfile:
data = myfile.read().splitlines()
path= #path here
with open(path) as file
contents = file.read()