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

2 lines
40 B
Python

open(filename, encoding='utf-8').read()