Skip to navigation
Load and read a file with python3
04.04.15
f = open("test.txt","r") #opens file with name of "test.txt" myList = [] for line in f: myList.append(line) print(myList)
http://www.afterhoursprogramming.com/tutorial/Python/Reading-Files/
Reply
Anonymous
Information Epoch 1740290928
Using text data files.
Home
Notebook
Contact us