Question
Write a python program to generate personalized invitations for an event using a guest list and an event details In the event_details.txt it contains details
Write a python program to generate personalized invitations for an event using a guest list and an event details
In the event_details.txt it contains details about event: venue, date/time, dress code, etc.
Grand Battle-Royale Civic Opera House 20 N Upper Wacker Dr #400, Chicago, IL 60606 01/01/2021 - Starting 9:00 pm Dress Code - Black Tie and Dress
In the guest_list.txt it contains a list of names of guest, one per line
Peter Parker Clark Kent Tony Stark Bruce Wayne Dr. Bruce Banner Diana Prince
Tony Stark
Bruce Wayne
Dr. Bruce Banner
Diana Prince
Create a program called event_generator.py which creates a personalized invitation within a text file for each guest in the guest list file using the event information found in the event details. Put all the generated invitation files in a directory called invitations.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started