best way to read a file in python code example
Example: how to read files in python
#Read files with loop
#Replace (File path) with your text file's path
file = open("(File path)", "r")
text = ""
for line in file:
text = "%s\n%s"%(text, line)
print(text)