In CPython (the reference Python implementation), the file will be automatically closed. CPython destroys objects as soon as they have no references, which happens at the end of an instruction at the very end.
Python , - (. PyParallel ).
Python - , . with, , , .
, , .