[Tutor] How to parse large files

Danny Yoo dyoo at hashcollision.org
Sun Nov 1 19:46:44 EST 2015


On Sun, Nov 1, 2015 at 5:17 PM, Peter Otten <__peter__ at web.de> wrote:
> jarod_v6--- via Tutor wrote:
>
>> Thanks!!
>> I use python2.7 Can Also use in that version?
>
> Yes.


Hi Jarod,


Also for reference, here are the equivalent 2.7 doc links:

    https://docs.python.org/2/reference/compound_stmts.html#the-with-statement

    https://docs.python.org/2/reference/datamodel.html#context-managers

    https://docs.python.org/2/library/contextlib.html#contextlib.closing


Good luck!


More information about the Tutor mailing list