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