python: Multiple improvements to Python scripts
Multiple improvements to Python scripts detected by Pylint, namely:
- Explicitly set the encoding when opening files.
- Open files with
with
.
Edited by Eduardo Almeida
Multiple improvements to Python scripts detected by Pylint, namely:
with
.