RosettaCodeData/Task/Read-entire-file/Python/read-entire-file-3.py

3 lines
46 B
Python
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
with open(filename) as f:
data = f.read()