opencodeiiita / Monty_Python_Class

A repository aimed for python learners
2 stars 48 forks source link

Task 6: Editing docx file #97

Open Lokesh2703 opened 4 years ago

Lokesh2703 commented 4 years ago

Monty take leaves very frequently in his college. As he is so lazy,he doesn't want to write leave letters everytime. He want to generate leave letter after editing his template just by running a python script. But Monty does not know how to edit a DOCX file through python script. Help him do this task.

Instructions

Add screenshots of the output while making a PR

Note : The issue number is different from the task number. Do make sure to write the correct isuue number in the PR Template otherwise you won't get points for this task.

ppinko commented 4 years ago

Solution to task no. 6, job #97 Python script (name: word_template.py) creates a new leave letter by editing 'Leave Letter Format.docx'.

Script asks user to input all necessary data and create a new file called 'Leave Letter .docx' in the current directory.

Script does not edit the main template.

terminal_output

automatically_generated_leave_letter