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: python text csv, python convert text csv, convert text csv python, text file csv python, python convert csv, convert text file python, python csv text, convert csv python, python convert file csv, convert python text file, script convert text csv, python convert file, text string, m string, python script convert text, convert csv text python, text csv python, python script text files, text format, text file, python script, python c

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