Re: [Tutor] Seeking help with reading and writing files in Python

2012-07-08 Thread Alan Gauld
On 26/06/12 19:28, Aristotle wrote: The sequence of events that I am using now is to open a program that will gather gallons used from user, call a module to make calculations, use the info from the module to write info to a file named FinalProjectBill.txt. ... From Instructor: You should read

Re: [Tutor] Seeking help with reading and writing files in Python

2012-07-08 Thread David Rock
* Aristotle [2012-06-26 14:28]: > > The sequence of events that I am using now is to open a program that > will gather gallons used from user, call a module to make calculations, > use the info from the module to write info to a file named > FinalProjectBill.txt. > > After that is done, I ope

Re: [Tutor] Seeking help with reading and writing files in Python

2012-07-04 Thread Alan Gauld
On 26/06/12 19:28, Aristotle wrote: with an assignment that asks me to read from one file and then write to another file. The problem is that the file to read from has not been created yet. So create it. Any old text editor will do. The whole point is, I believe that you are writing a program

[Tutor] Seeking help with reading and writing files in Python

2012-07-04 Thread Aristotle
Hello, I am reading Tony Gaddis "Teach Python" book and I am having trouble with an assignment that asks me to read from one file and then write to another file. The problem is that the file to read from has not been created yet. Can anyone help me understand this instruction a little better?