选项卡错误 作者: admin 时间: 22/11/30 15:54:55 分类: Python 这行为什么会出现错误:对于file.readlines()中的行:谢谢电子/米/ # 回答1 不知道错误消息是什么,我只能猜测。文件是一个内置函数。这可能是问题所在吗? 选择 | 换行 | 行号 >>> file.readlines() Traceback (most recent call last): File "<interactive input>", line 1, in <module> TypeError: descriptor 'readlines' of 'file' object needs an argument >>> 标签: python