Re: [BangPypers] Parsing data

2011-09-17 Thread Senthil Kumaran
On Fri, Sep 16, 2011 at 11:26:34PM -0500, Ananya Sharma wrote: > > *File A-* > >PSUB.GBD61H402FPT34:0-372 > > *File B-* > >PSUB.GBD61H402FPT34:0-372 > XX > XX >

Re: [BangPypers] Parsing data

2011-09-17 Thread Gora Mohanty
On Sun, Sep 18, 2011 at 2:19 AM, Ananya Sharma wrote: > The logic is that i have file A which has some names and file B which has > values for each name in file A and some extra values. I want to make a > script which gives me the values from file B corresponding to all the names > given in file A

Re: [BangPypers] Parsing data

2011-09-17 Thread Ananya Sharma
The logic is that i have file A which has some names and file B which has values for each name in file A and some extra values. I want to make a script which gives me the values from file B corresponding to all the names given in file A. My files look like - *File A-* >PSUB.GBD61H402FPT34:0-372 >P

Re: [BangPypers] Parsing data

2011-09-17 Thread Gora Mohanty
On Sat, Sep 17, 2011 at 9:33 PM, Ananya Sharma wrote: > I am trying to look up each value from file A and loop it through file B. As > i already said that I am new in python programming so this is what I could > come up with. Um, the code is quite far from accomplishing that. While I am sure that

Re: [BangPypers] Parsing data

2011-09-17 Thread Ananya Sharma
I am trying to look up each value from file A and loop it through file B. As i already said that I am new in python programming so this is what I could come up with. And this is the output of an algorithm I use in my research so its not a part of any homework assignment. On Sat, Sep 17, 2011 at 1: