Search This Blog

Python Mail Merge Project - Automating Recipient Writing in a Letter


Project Description:
  1. Automates the recipient writing part in the same letter.
  2. Recipient names are given in a separate file named invited_names.txt
  3. A sample letter is given in a separate file named starting_letter.txt
  4. Code is to be written inside main.py whose purpose is to fetch the sample letter, replace the [name] in a sample letter with recipient names &  generate an individual letter following this naming convention: letter_for_{recipient_name}.txt
  5. The number of names given in invited_names.txt file generates a similar number of letters. Suppose, 5 names are given in invited_names.txt then, 5 letters will be generated.


Folder Structure:

Folder Structure

Output:






./Input/Letters/starting_letter.txt


./Input/Names/invited_names.txt


./Output/ReadyToSend/example.txt


main.py

No comments:

Post a Comment