answered 2018-03-05 11:47:53 +0200
Yes, you can:
with open("/path/filename", 'r') as fin: print fin.read()