getting a list of lines inside a file by using readlines() in Python. ... fob=open('data.txt','r') print(fob.readlines()) fob.close()
確定! 回上一頁