<filename>coursera/a_7_1_reading_file.py<gh_stars>0
# Use words.txt as the file name

fname = raw_input("Enter file name: ")
f = open(fname, 'r')

for line in f:
    print line.upper().strip()
    
f.close()
<filename>coursera/a_7_1_reading_file.py<gh_stars>0
# Use words.txt as the file name

fname = raw_input("Enter file name: ")
f = open(fname, 'r')

for line in f:
    print line.upper().strip()
    
f.close()
# Use words.txt as the file name