f = open('C:\my_programs\records.txt')print f.read()
C:\my_programs>openfile.pyTraceback (most recent call last): File "C:\my_programs\openfile.py", line 1, in ? f = open('C:\my_programs\records.txt')IOError: [Errno 2] No such file or directory: 'C:\\my_programs\records.txt'
f = open(r'C:\my_programs\records.txt')