File I/O
1 / 17
EasyMultiple choice

Why prefer 'with open()' over manual close()

Why is 'with open(path) as f:' preferred over calling f.close() manually?

← → arrow keys to navigate

Sign in to save your progress.

Why prefer 'with open()' over manual close() - Python File I/O Quiz | Unnested