This project is a simple interactive resume generator written in Python.
It collects user information through console input and automatically generates a formatted HTML resume file (resume.html) using the Jinja2 templating engine.
-
Interactive input prompts for:
- Personal details
- Education
- Experience (optional)
- Skills
- Projects (optional)
- Achievements
-
Input validation for:
- 10-digit phone number
- Gmail address format
-
Automatically generates:
- Well-structured HTML resume
- Organized sections when data exists
-
Clean layout using basic CSS styling
| Component | Library |
|---|---|
| Template rendering | Jinja2 |
| Input validation | re (regular expressions) |
| Language | Python |
Install the required dependency:
pip install jinja2Run the Python script:
python resume_generator.pyYou will be prompted to enter:
- Name
- Phone number
- Email address
- Education details
- Work experience (optional)
- Skills
- Projects (optional)
- Achievements
After completion, the program will output:
Resume saved as 'resume.html'. Open it in your browser!
Open resume.html to view your generated resume.
The script produces:
resume.html— a formatted resume page containing your entered information.
The resume includes sections only when data is provided (skills, projects, achievements, experience are optional).
-
Phone number must be exactly 10 digits
-
Email must end with:
@gmail.com@gmail.in
Invalid inputs will be rejected until corrected.