Closed SanketDG closed 9 years ago
From python 2.5, the with statement is advised to use, because it automatically closes the files when everything inside the with block is executed. Also, its scope remains shorter.
Thanks -- merged in 8ac7b40.
From python 2.5, the with statement is advised to use, because it automatically closes the files when everything inside the with block is executed. Also, its scope remains shorter.