Holen Sie sich Text von der TXT -Datei 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()