python:read,readlines,readline的区别
a=['dewe','dsefwe','seww']>>> print(a.readline())Traceback (most recent call last): File "", line 1, in print(a.readline())AttributeError: 'list' object has no attribute 'readline'注意: