First time here? Check out the FAQ!
answered 7 years ago
Yes, you can:
with open("/path/filename", 'r') as fin: print fin.read()