Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~70 People Reached
Favorite Forums
Favorite Tags
Member Avatar for thoutmosis

Hi guys, I got a file having this kind of records: 000000000111GOOGLE 5428[B]MG[/B]45525[B]RC[/B] 000000000122MICROSOFT 8565[B]MG[/B]85454[B]RE[/B] 000000000044APPLE 5814[B]KL[/B]484545[B]RC[/B] I want to keep only the records that have 'MG' in position 34 and NOT ('RE' or 'RD') in position 41 What should I add to this code? #!/usr/bin/python infile = 'DATA' input …

Member Avatar for thoutmosis
0
70