Tiny python script
$10 USD
착불
I need a simple script that parses a file and counts some occurrences of keyword.
The file is very large (millions of lines) so the script should use readline for a file object or some other way, to avoid loading the whole file into memory all at once
The file contents are sections, with a single title line and 1 or more lines under each section title
section title lines (and only them) start with “@@@$”
sample file contents:
@@@$section_title_one
apple strudel
chocolate
@@@$section title 2
ice cream pie
@@@$another title
some
more
lines
the script should contain hardcoded a set of keywords, for developing it use kws = [“apple”,”banana”,”candy”]
the script should count how many lines in each section contain 1 or more keywords. and print out the titles of all of the sections which have at least 5 occurrences, ordered descending by number of occurrences, in the following format
[number of occurrences] - [section title]
e.g.
25 - section_title_ten
23 - title of some other section
....
the budget for this is $10, not more.
with your bid, at the top of the private message, please indicate in how many hours from the time I accept your bid can you deliver this.
thanks
프로젝트 ID: #9244052
프로젝트 소개
이 일자리에 대한 프리랜서 23 명의 평균 입찰가: $16
Hello! I can do this script for you in 40 minutes since my bid would be accepted. Please contact me if you are interested. Best regards.
1-Day Hi there! I'm a Professional Software developer and Data Analyst for a well known Software House in Islamabad named PacSquare Pvt Ltd. If I get this job, I assure you that you'll get my best services in ret 기타
I can help you with your project, send me a sample file so I can check on it, it wont take much maybe 1-2 hours.
Young proactive IT engineer that works with python everyday developing neural networks models in Python and Java.
Hey, I am very interesting in your project. I have years experience of python. i hope i could help you for this project. Thank you
I already have the script written. It can be sent to you for completion of the project immediately once the bid is accepted.
Hi, I have 4 years of experience in python. I can compete this script in 2 - 3 hrs. I have the alghorithm ready if you are interested. for loop: Read the file line by line. search for string'@@@$' for loop:rea 기타
This reason for the low bid is that I want to build some reviews and contacts for future projects. I have a degree in computer science and I teach python in high school. My plan would be: 1. To parse in the 기타