line = fp.readline(). ## 用while 逐行讀取檔案內容,直至檔案結尾. while line: print line. line = fp.readline(). fp.close() ...
確定! 回上一頁