File Python Tutorial

f = open(r'c:\test.txt')
print f.read(7)
print f.read(4)
f.close()
f = open(r'c:\test.txt')
print f.read()
f.close()