fob=open('data.txt','r') print(fob.readlines()) fob.close() Output is here ( used the data.txt file given at file read() ) ['This is first line\n', ...
確定! 回上一頁