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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!