# Program to print file contents # Matt Bishop, Apr. 17, 2009 # for ECS 10 Spring 2009 # def main(): # get file name fname = raw_input("Please enter the name of the file to print:"); # # just print the contents of the file # infile = open(fname, 'r'); content = infile.read(); print content; infile.close(); main();