Kundai2020 / Webscraping

Real Estate Webscraping using residential.com website
0 stars 0 forks source link

CV Builder Using PythonπŸ“πŸ“ #3

Open Kundai2020 opened 4 months ago

Kundai2020 commented 4 months ago

`from docx import Document from docx.shared import Inches docfile = Document() name='Kundai B Zvinavashe' phone='+26377' email='kundie@outlook.com'

adding picture

docfile.add_picture('my.jpeg',width=Inches(1.0))

adding contact

docfile.add_paragraph((f'{name} | {phone} | {email}')) docfile.add_heading('Summary:')

adding summary

docfile.add_paragraph('Dynamic and results-oriented ICT Graduate Trainee with hands-on experience in ICT support')

work exprience

docfile.add_heading('Work Experience:') company='Ministry of Health & Childcare' company2='Choppies Supermarket' date='Jan 2022' date2='Jan 2017' To2='May 2018' To='Date'

p=docfile.add_paragraph() # in order to add a paragraph inside a paragraph p.add_run(f'{company} ****').bold=True p.add_run(f'{date}-{To} \n').italic=True

adding roles on experience using while loop

roles=input(str('enter your roles:')) p.add_run(f'{roles}\n') while True: more_roles=input(str('Do you have some roles to add πŸ€·β€β™‚οΈπŸ€·β€β™‚οΈπŸ€·β€β™‚οΈ :y/n')) if more_roles=='y': roles=input(str('enter your roles:')) p.add_run(f'{roles}\n') else: break

more exeprience with while loop

while True: more_experience=input(str('Do you still have more exprience to add πŸ€·β€β™‚οΈπŸ€·β€β™€οΈπŸ€¦β€β™‚οΈ y/n? :')) if more_experience=='y': p.add_run(f'{company2} ***').bold=True p.add_run(f'{date2}-{To2} \n').italic=True

adding roles on experience using while loop

    roles=input(str('enter your roles:'))
    p.add_run(f'{roles}\n')
    while True:
        more_roles=input(str('Do you have some roles to add πŸ€·β€β™‚οΈπŸ€·β€β™‚οΈπŸ€·β€β™‚οΈ :y/n'))
        if more_roles=='y':
            roles=input(str('enter your roles:'))
            p.add_run(f'{roles}\n')
        else:
            break

else:
    break
# adding skills on my Cv

docfile.add_heading('Skills:')
skill=input(str('enter your skills: ')) p=docfile.add_paragraph(skill) p.style='List Bullet' while True: more_skill=input(str('you have more skill to add y/n')) if more_skill=='y': skill=input(str('enter your skills: ')) p=docfile.add_paragraph(skill) p.style='List Bullet'
else: break

adding Reference

docfile.add_heading('References:') ref='References Provided on requast.' docfile.add_paragraph(ref)

addng footer on my Cv

conclusion=docfile.sections[0] last=conclusion.footer p=last.paragraphs[0] p.text='This CV was designed by Kundai Brain Zvinavashe a certified Data ScientistπŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»πŸ’―πŸ’―πŸ’―'

docfile.save('hombs.docx') `