Re: [Tutor] text files

2013-01-16 Thread Alan Gauld
On 16/01/13 02:31, Gina wrote: new_file = open("the_file_upper.txt", "w+") In general consider the w+ file option to be for advanced use only. Either open it for reading or writing, don't try to do both at the same time. It's a bit like sitting on a tree branch with a saw to cut it down. If

Re: [Tutor] text files

2013-01-15 Thread Dave Angel
On 01/15/2013 09:31 PM, Gina wrote: I have version 3 I am trying to read a text file ("the_file.txt") and then write a new file where the characters are in uppercase but i don't know how/where i should use the .upper I think i should use it where the ** is, but i got errors when i tried t