
Need Python Code to parse text file - Part 1
- or -
Post a project like this351
$100
- Posted:
- Proposals: 9
- Remote
- #4195273
- PRE-FUNDED
- Awarded
PHP | Python | NodeJS | Laravel | React | HTML | CSS | JS | Data Scraping | Data Mining | Data Processing | Pandas | Excel work,
Web and App Development | Database Expert | Database Analysis| Python Developer

Data Scientist| Python Developer|Machine Learning and AI Expert |Academic writer | Software Developer| GIS Expert| Website Development| Accounting and Bookkeeping|

Ranked #1 In WordPress Development on PPH | SEO Specialist | Web Design & Development

2746752413797310217969227480431620241123938610889716107498301723949





Description
Experience Level: Entry
I need the code to create a separate text file and write certain pages (or lines) to the new file. I just want the code to review and run myself. I don't need an executable.
Part 1:
Extract the BEARING SEAT ELEVATIONS pages and write to a newly created text file.
I've included two sample files to read from. For the BR07_02.ls2 file there are 6 "Pages" of BEARING SEAT ELEVATIONS. For the Bridge22.ls2 file there is 1 "Page" of BEARING SEAT ELEVATIONS. For these files they happen to be at the end of the file, but assume they can occur anywhere within the text of the file. Need the code to extract that information without the page headers and place all the other lines (non-header info) as-is into a new text file.
This is just the first part of the project. There are several other reports within the text file that need to be extracted in a similar fashion. Part 2 of the project will be developing the code to extract all the separate reports from the file. If we can get the Part 1 done satisfactorily, we can discuss Part 2.
Part 1:
Extract the BEARING SEAT ELEVATIONS pages and write to a newly created text file.
I've included two sample files to read from. For the BR07_02.ls2 file there are 6 "Pages" of BEARING SEAT ELEVATIONS. For the Bridge22.ls2 file there is 1 "Page" of BEARING SEAT ELEVATIONS. For these files they happen to be at the end of the file, but assume they can occur anywhere within the text of the file. Need the code to extract that information without the page headers and place all the other lines (non-header info) as-is into a new text file.
This is just the first part of the project. There are several other reports within the text file that need to be extracted in a similar fashion. Part 2 of the project will be developing the code to extract all the separate reports from the file. If we can get the Part 1 done satisfactorily, we can discuss Part 2.

David R.
100% (8)Projects Completed
6
Freelancers worked with
3
Projects awarded
71%
Last project
25 Apr 2024
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Could you explain the logic behind excluding the page headers from the extracted content? I want to ensure I understand how it works?
1093563
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies