Python 中的用for,while迴圈遍歷檔案例項 ... fd = open('/tmp/1.txt') while True: line = fd.readline() if not line: break print line, ...
確定! 回上一頁