Find Jobs
Hire Freelancers

2 Similar Python Scripts

$30-100 USD

완료함
게시됨 12년 이상 전

$30-100 USD

제출할때 지불됩니다
First script compares 2 text files, [login to view URL] and [login to view URL] . File1 contains a list of phrases (1 phrase per line, phrase can be any number of words). File2 contains a list of words or phrases (1 phrase per line). The .py Python script should compare the phrases in [login to view URL] to phrases in file1.txt. The script must REMOVE any lines from [login to view URL] which contain any exact word/phrase in file2.txt. E.g. [login to view URL], 'text' stands for random text text text word1 text word2 text text text word3 word4 text text text word5 text [login to view URL] dog text text cat fish text text bread word4 word2 egg very excellent word5 The output file would be text text word1 text text text word3 text word5 text Since word2, word4 appear in file2.txt. Note that the match must be exact for it to be removed from the [login to view URL] . For example, although word5 appears in [login to view URL], it is in the form 'very excellent word5' , and since 'very excellent word5' does not appear in [login to view URL], it is not removed from file1.txt. If no words/phrases are in [login to view URL] which are in [login to view URL], then the output is the same as [login to view URL] . ------ Second script will compare [login to view URL] and [login to view URL], but this time, the output file would output lines from [login to view URL] which contain exact word/phrases from [login to view URL], rather than deleting them. So the output from the above example is: text word2 word4 text text Basically the inverse output of the first script. Instead of deleting those words from [login to view URL] and outputting that, instead it outputs the words that it would have deleted in the first script. ------ I hope I have explained this well enough, it's not as complicated as it sounds.
프로젝트 ID: 2705737

프로젝트 정보

2 제안서
원격근무 프로젝트
활동 중 12년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
See private message.
$10 USD 14일에
5.0 (1 건의 리뷰)
0.0
0.0
2 이 프로젝트에 프리랜서들의 평균 입찰은 $26 USD입니다.
사용자 아바타
See private message.
$42.50 USD 14일에
5.0 (23 건의 리뷰)
4.6
4.6

고객에 대한 정보

국기 (UNITED KINGDOM)
Wales, United Kingdom
5.0
14
결제 수단 확인
8월 26, 2012부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.