Fill the blank
# reuse the file handle safely
____ open(path) as f:
data = f.read()
Answer: with
A with block closes the file even if the body raises.
Play Problem Solving ▸
# reuse the file handle safely
____ open(path) as f:
data = f.read()
Answer: with