Completed

Script to convert custom txt file to csv file

Job Description:

I need a script to convert a custom txt file to a csv file. The project must use Python, and no database is required. The input file is a txt file. The script must be able to read the contents of the txt file, parse through that content, and then save it as a csv file.

There is a clear structure to the custom txt file.

I'm attaching a sample input and a sample output.

To show that you are not placing an automated bid, please mention one Python function you might use for this.

The input file would be around 300 MB and the script must be able to handle this.

Thank you

Skills: Python, Software Architecture, PHP, JavaScript

About the Client:
( 63 reviews ) Montreal, Canada

Project ID: #36293615

Awarded to:

(1461 Reviews)
7.9

55 freelancers are bidding on average $30 for this job

purplemaestro

Hi. I Hope you are doing well. I have high level expertise in Python. I can convert that text file to a CSV file. Will provide you top quality work for sure. I can start right now.

$30 USD in 1 day
(137 Reviews)
6.6
mahmoudembaby1

Hello, I am interested to help you write a Python script that will take your custom text file, process it and export a csv file that looks like that sample you attached. I am sure I can get this done today for only $30 More

$30 USD in 1 day
(131 Reviews)
6.4
kaloyan13

I can write the Python script in less than 1 hour. Will make it as simple as possible. Reading line by line, and no regular expressions. Will be fast.

$20 USD in 1 day
(180 Reviews)
6.5
rajorshi1001

It seems like you want to parse the text and save the Id and the description in two columns in the CSV. I would use regex to parse the text and then csv module to save the data. 300mb files won't be any problem. But ma More

$25 USD in 1 day
(58 Reviews)
6.1
aboobakr

Dear Sir, I can do this using the PHP function and can deliver it within a day. I will use PHP file_get_contents() function to do this. Please discuss this with me in detail, I am looking forward to your reply. Thank More

$60 USD in 1 day
(54 Reviews)
6.1
cababay

Hi there, I am a solution architect from Turkey. I am expert on Python. I can help you quickly. Please contact me. Thanks.

$35 USD in 7 days
(58 Reviews)
6.1
mohamedabdelall4

Hi , I am sure that I can do this job. I'm artificial intelligence engineer experienced in Python programming. In my portfolio you can find samples of projects similar to yours (https://www.freelancer.com/u/mohamedabd More

$20 USD in 1 day
(25 Reviews)
5.5
gm341473

Dear sir, I have gone your project, and it matches my expertise. I'm confident of performing your project work. I have 6+ years of experience in Python, Bot Making, Software architecture. I can do your project accurate More

$20 USD in 1 day
(18 Reviews)
5.1
KawlCarter

open✅ Full Experiences and Profound Knowledge in ⭐Data Processing with Python Programming⭐✅. Hi, how are you? I am very confident to complete your project perfectly. I can start your work right now. Of course, since I More

$20 USD in 1 day
(19 Reviews)
4.8
yassineberdad

Hi Python is my major skill. I can deliver this project in the next couple of days. Let's discuss the project in more detail. Looking forward to hearing from you. Regards

$20 USD in 7 days
(50 Reviews)
4.7
gabrielor

Hello! How are you doing? I've been developing with Python for more than a year now, and as a Computer Science student I know how to do your project and I do have all the required skillset you can check out my profile More

$25 USD in 1 day
(21 Reviews)
4.4
MohammadKassem01

Hello, I'm Mohammad. I'm Python/Web Scraping/Automation Expert. I’ve reviewed your requirements and checked the attached files, it perfectly matches my skills. I am interested in working with you on this project. Rea More

$25 USD in 1 day
(23 Reviews)
4.0
robartint

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price More

$10 USD in 7 days
(10 Reviews)
4.1
jinufeb14

I am an experienced python developer. Contact me please....................................... Regs Jinu

$20 USD in 7 days
(22 Reviews)
3.8
samudram1712

I understand that you are looking for a very simple website with information about your job in selling and buying cars. I have 4+ years of experience in PHP web development, specifically with WordPress and other framew More

$20 USD in 7 days
(9 Reviews)
3.5
marlinrikey

Hello, I have checked your input and output files. I can finish this task in few hours using python. Please contact me anytime. I am ready to start your work right now,

$20 USD in 1 day
(6 Reviews)
3.3
rajeeshrpunathil

Hi, I can do this and I would use functions from "re" module to parse text from the input file. I have checked both the input and output files and see that there's a clear structure in the input txt file as you said. More

$30 USD in 1 day
(2 Reviews)
2.5
razerman

Nice to meet you. I have checked your sample-output, input files. replace('\t', ',"'), this can resolve what you need. But csv use comma or tab to separate cells. I want to discuss more with you about the project if it More

$30 USD in 3 days
(2 Reviews)
2.1
Geontiry

Hi there, I have read your posting and I am interested in working with you and meet your requirements in text to csv conversion. One function that I will use is pd.read_csv() from pandas I have a background in Full-St More

$15 USD in 1 day
(1 Review)
1.4
CyberSurgeon

Hi, I have read your project requirements. I understand that I would have to write a python script that is able to read a text file, parse through it and store it as shown in the attached sample-output.csv. This can be More

$30 USD in 3 days
(1 Review)
1.6