Need to extract only a particular block of data.
I’m trying to display candidates Experience summary. I used the below code to do so, but it is extracting the texts from Experience summary till the end. How can I stop this to capture only Experience summary?
Below is my Code:
import os
with open('abcd.txt','r',encoding='latin-1') as infile: #open("E:/cvparser/shanbhag.txt",'w', encoding='latin-1')as outfile:
copy = False
for line in infile:
if line.strip() == "Experience Summary:":
copy = True
elif copy:
print(line)
This is my text file(abcd.txt):
Name : XYZ
Email: ABCD@gmail.com
Phone: 1234567890
______________________________________________________________________________
Objective:
To work in a challenging and stimulating environment that fulfills my creative satisfaction as a User Interface Web Designer and to grow in the organization as a team player.
Experience Summary:
· 4+ Years of experience in Software developing and database development.
· Experienced in Moodle Development.
· Had 2+ Years of experience in MySQL database, Cassandra database, python , project designing, project workflow, Image recognition using IBM Watson, voice recognition, SEO on increasing page ranking.
· Had work experience of 2 years as SAP ABAP developer.
· Experience in developing and configuring Moodle tool.
· Good experience in python backend code development (in machine learning, deep learning, neural networks, TensorFlow Framework).
· Experience in database designing and er diagrams.
· Experience in MySQL, Cassandra databases.
· Experience in sql queries.
· Good knowledge on Boardwalk database and block chain.
· Experience in developing Chat-Bots conversations using API.ai.
Web Technologies:
Web Technologies : HTML, jQuery , CSS, Ruby on rails, Python
Databases : MySQL, Cassandra, Boardwalk database
Languages : SAP Abap, Basic understanding of Webdynpro
Others : IBM Watson, AJAX, Voice recognition using API.ai and WIT.ai, Google Tensor-flow.
Professional Experience:
· Working at Ambertag Analytics Pvt ltd as Senior Software Engineer since March 2016 – till now.
· Worked at Vernasoft consultancy Pvt ltd as SAP ABAP Consultant since June 2013 to June 2015 .
· Job Profile: Currently working on automating Image classifier using Google tensor flow ,working on designing the chat-bots for e-commerce websites and Moodle Framework implementation for Educational systems.
Portfolio:
PROJECTS
Project 1
Project :Materiall - Implementation
Duration: March 2016 – June 2017
Type : Web Based Application (Mysql, Ruby on Rails)
Role : Software developer
Client : Materiall
Description: Materiall is the furniture site and was founded out of a passion for finding a better way to browse products on-line, to help find your global maximum, and to make search more transparent and interactive.
Responsibilities:
· Web developer:- Developed the platform for classifying the attributes(like,style) of any e-commerce products and saving the data to the database.
· . If suppose the admin rejects the image, that image will be back to the developer database.
· Html&Css:- Designed the website using HTML & CSS. My role is to create the web pages and including the given text and images to the website. Doing perfect alignments and making the website looking much better.
· Migrate the data from test database to production database by using Perl script commands.
· Voice recognization:- Developed a Chat-Bot conversation and handling the conversation failure cases using API.ai services. Creation of the chat-bot mind-maps.
ACADEMICS
BTECH ,Computer science engineering from JNTUA (2009 -2013)
12th from Sri chaitanya college ,Hyderabad (2007-2009)
10th from Sister Stanislas English medium school, Kurnool (2007)
PERSONAL DETAILS
Date of Birth: 15th Mar 1992
Languages known: English, Hindi, Telugu
Fathers Name: Suryanarayana.L
Passport details:- Under process
2
Answers
Perfect..!! It worked for the above example, but when I changed my text file it doesn't seems working.
Here is my text file:
Here I am not able to extract Additional Experience. @RomanPerekhrest
With specific conditional:
The output: