On Sun, Oct 20, 2013 at 07:16:12PM -0500, Sammy Cornet wrote: > Hello!I'm using python 2.7.5 version and I'm trying to write a program > related to a file named unsorted_fruits.txt contains a list of 26 .........................^^^^^^^^^^^^^^^^^^^^^
Here you say the file is called unsorted_fruits.txt > infile = open('Desktop/unsorted_fruits.docx' ,"r") ................^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Here you try to open a file called unsorted_fruits.docx And likewise for the file you are writing to. -- Steven _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor