... 【操作】按行读取一个文件 with open(r"d:\\b.txt") as f: while True: lines = f.readline() if not lines: # 在python 中if not 会将后面对象隐式 ...
確定! 回上一頁