使用For 迴圈讀取資料. fo=open('welcome.txt','r'). for LL in fo: print(LL) #每一圈跑一行,跑到沒資料為止. fo.close(). Python for lccnet lesson ...
確定! 回上一頁