Re: [Tutor] Read, Write, Split and Append lines from a text file

2014-07-20 Thread Alan Gauld
On 19/07/14 22:27, LN A-go-go wrote: AK 36 AL 39 AR 39 AZ 45 CA 61 CO 54 # and now my newbie attempt: # I can get this far in approach #1 >>> filename = "z:/Geog482/egund919/Program1/BOJ.txt" >>> myfile = open(filename,"r") >>> newfile = "z:/Geog482/egund919/Program1/BOJ_B.txt" >>> mynewfil

Re: [Tutor] Read, Write, Split and Append lines from a text file

2014-07-19 Thread Dave Angel
LN A-go-go Wrote in message: By trying to include an attachment, you make it impossible for me to quote your actual message. Please use plain text message without attachments, to maximize the number of people that can read and readily respond. > StatesOJ > AK36 > AL39 > A

Re: [Tutor] Read, Write, Split and Append lines from a text file

2014-07-19 Thread Danny Yoo
On Sat, Jul 19, 2014 at 2:27 PM, LN A-go-go wrote: > > > I have given it all I got: a week trying to open, read, write, split, append, > convert to integers and then manipulate the data. I have attached the file I > want to pull the names and numbers from. I'll cut and paste it incase that >

Re: [Tutor] Read, Write, Split and Append lines from a text file

2014-07-19 Thread Mark Lawrence
On 20/07/2014 00:59, Jay Lozier wrote: Please include the complete stack trace error message It will help in determining what the error is. Jay -- Jay Lozier jsloz...@gmail.com Please don't top post here. Did you have to include the entire message just to include a two sentence reply? -

Re: [Tutor] Read, Write, Split and Append lines from a text file

2014-07-19 Thread Jay Lozier
Please include the complete stack trace error message It will help in determining what the error is. Jay On 07/19/2014 05:27 PM, LN A-go-go wrote: I have given it all I got: a week trying to open, r

[Tutor] Read, Write, Split and Append lines from a text file

2014-07-19 Thread LN A-go-go
I have given it all I got: a week trying to open, read, write, split, append, convert to integers and then manipulate the data.  I have attached the file I want to pull the names and numbers from.  I'll cut and paste it incase that doesn't work and then include a sample of the pytho