Mega Code Archive
Categories
/
Python
/
File
File read() Demo
f = open(r'c:\text\somefile.txt') print f.read() f.close()