Python to find lines in .txt files with identical 2nd word, but different 1st word USD$20

Completed Posted 4 years ago Paid on delivery
Completed Paid on delivery

Python script to find lines in .txt files with identical 2nd word, but different 1st word

background:

inside a directory, there are 1 or more .txt files

each text file could have up to approx. 2 million rows.

each row has only two (2) strings ("words"), separated by one empty space " ", for example:

abcde 0123456789

gfhi 56789

kighhtttsyy ghghgjgkglg

need:

find and extract those rows, where the 2nd string is identical, but the the 1st string is different.

code must check first if all lines meet the word1 [sapace] word2 pattern

for example:

[login to view URL] file

ala fhufffr

kte ggfgfg

back jujujuj

baan gfgg

szlo ggggggg

back jujujuj

dinye dcdcd

slva vvfy

krte ggfgfg

ubka rgrt

kpszta jujujuj

naacs gtbynymnym

result keep:

[login to view URL] file

back jujujuj

kpszta jujujuj

Python

Project ID: #24142508

About the project

14 proposals Remote project Active 4 years ago

Awarded to:

qlzfelipe

Hello, I'm a python programmer and can build you the script for text search you need. Message me and let's discuss further details. I can do this really quick. Thanks!

$20 USD in 1 day
(5 Reviews)
3.1

14 freelancers are bidding on average $19 for this job

namcusamlc

Hi there, This problem may relate to Data structures and Algorithms. I have strong experience with programming. I also participated various algorithm competitions in the past. I think I can handle the work nicely if yo More

$25 USD in 1 day
(53 Reviews)
6.2
Gulraj

Hi Sir, I hope you are doing well. I can help you do this task. Please contact so I can start right away. Thanks

$17 USD in 2 days
(3 Reviews)
4.1
crduran

How are you? Here is honest Freelancer. Exactly, I want to help U. Hope message me to discuss more details. Thank you for your attention. Carlos

$20 USD in 3 days
(4 Reviews)
3.1
purplemaestro

Hi my name is Muhammad Hassan. I have high level expertise in Pythion. I can help you find the identical 2nd word but a different 1st word. I can start right now and can do the work on time. Regards Muhammad Hassan

$20 USD in 1 day
(4 Reviews)
2.9
phoenixBattleRid

Hi I Can do it immediately Thanks ...................................................................

$20 USD in 7 days
(2 Reviews)
2.6
Midvel

Hello, I am a Software Developer with 5+ years of experience in different programming languages and technologies including Python. I am very familiar with data structures, text parsing, regular expressions and other t More

$20 USD in 3 days
(6 Reviews)
2.8
jairiidriss

I have made so many project and exercises in that kind and I see that I am able to solve this for you just in few hours, do not hesitate to accept my bid :)

$10 USD in 1 day
(0 Reviews)
0.0
antonagre03

it's a very simple script and I have already coded something similar Relevant Skills and Experience I work with Python from many years

$16 USD in 1 day
(0 Reviews)
0.0
amazzuca

I have more than 5 years programming in python. I can easily handle this project. It could be run simultaneously in different threads.-

$20 USD in 1 day
(0 Reviews)
0.0
napoleaowingert

Hello! Napoleão here, how are you? I can help you right away. I'll develop a great script to find the identical 2nd strings in the text files (inputs) and output them to another file for you. Let's get this task don More

$30 USD in 1 day
(0 Reviews)
0.0