Does readlines() return a list or an iterator in Python 3? Does readlines() return a list or an iterator in Python 3? python-3.x python-3.x