Re: find integers in f.readline()

2010-04-30 Thread MRAB
elsa wrote: Hi people, I'm having a problem getting the info I need out of a file. I've opened the file with f=open('myFile','r'). Next, I take out the first line with line=f.readline() line looks like this: '83927 300023_25_5_09_FL 9086 9134 F3LQ2BE01AQLXF 1 49 + 80 ZA8Z89HIB7M' I then spl

Re: find integers in f.readline()

2010-04-29 Thread Tommy Grav
On Apr 29, 2010, at 10:22 PM, elsa wrote: > Hi people, > > I'm having a problem getting the info I need out of a file. > > I've opened the file with f=open('myFile','r'). > > Next, I take out the first line with line=f.readline() > > line looks like this: > > '83927 300023_25_5_09_FL 9086 91

Re: find integers in f.readline()

2010-04-29 Thread Alf P. Steinbach
On 30.04.2010 04:22, * elsa: Hi people, I'm having a problem getting the info I need out of a file. I've opened the file with f=open('myFile','r'). Next, I take out the first line with line=f.readline() line looks like this: '83927 300023_25_5_09_FL 9086 9134 F3LQ2BE01AQLXF 1 49 + 80 ZA8Z89H

find integers in f.readline()

2010-04-29 Thread elsa
Hi people, I'm having a problem getting the info I need out of a file. I've opened the file with f=open('myFile','r'). Next, I take out the first line with line=f.readline() line looks like this: '83927 300023_25_5_09_FL 9086 9134 F3LQ2BE01AQLXF 1 49 + 80 ZA8Z89HIB7M' I then split it into par