I gang

Python Script to Convert Text File to CSV

I have a text file that I need converted into a CSV using Python.

The format currently is this:

http://string/variable/-firstname-lastname/variable

http://string/variable/-firstname-lastname/variable

http://string/variable/-firstname-lastname/variable

Any line that does not parse properly should simply be dumped.

The "/"'s are always as described with a / before and after the firstname lastname combination.

The first "http://string/variable/" is the same depending on what I'm doing, so it needs to be configurable in the script.

I need the Firstname and Lastname separated out as one field and without any dashes (convert dashes to spaces unless preceding a name or trailing).

I would also need the entire link assigned a field.

It would also have to parse the source file into a series of 2MB files (Preferably configurable in the script)

Make sense? Thanks.

Færdigheder: Python

Se mere: convert text file csv python, python convert text file csv, python text csv, python convert text csv, convert text csv python, python parse file csv format, python script parse text files, text file csv python, python script parse text file csv file, using python convert text file csv, script convert text csv using python, python script convert text csv, convert text file csv file, python convert csv, convert text file python, python csv text, python script convert file csv, convert csv python, script convert text csv file, python script parse csv, python convert file csv, convert python text file, script convert text csv, convert text csv python script, python convert file

Om arbejdsgiveren:
( 5 bedømmelser ) Frederick, United States

Projekt-ID: #947945

Tildelt til:

deadhunt

Please check PMB.

$30 USD in 2 dage
(5 bedømmelser)
3.2

9 freelancere byder i gennemsnit $32 for dette job

adaschevici

I can provide a solution to this in less than a day, a day along with the testing. Awaiting your reply thank you.

$30 USD på 1 dag
(47 bedømmelser)
5.9
happycoder2010

hi, Please check your PMB

$30 USD in 0 dage
(2 bedømmelser)
2.5
prasannatsm

I have worked in Python projects. Hope I can do this.

$30 USD in 3 dage
(1 bedømmelse)
1.4
astmas

Hello! My skill can help you!

$50 USD in 2 dage
(0 bedømmelser)
0.0
hutama

i gonna do it

$30 USD in 3 dage
(0 bedømmelser)
0.0
agileos

ready to go :)

$30 USD in 2 dage
(0 bedømmelser)
0.0
rabbicse

Hi, I've already written classes and script to scrap data and insert into csv file. It needs less time to finish. I can do for you.

$30 USD på 1 dag
(0 bedømmelser)
0.0
matejp

hello sir, please read PM.

$30 USD på 1 dag
(0 bedømmelser)
0.0