SHA2017-badge / micropython-esp32

MicroPython ported to the SHA2017 badge
https://micropython.org/
MIT License
12 stars 16 forks source link

Use 'with open() as f:' instead of 'f = open()' #193

Closed basvs closed 7 years ago

basvs commented 7 years ago

This automatically closes the file when leaving the code block.

(fix for 'too many open files' problem)