Skip to content

Use a LibreOffice or Word document as a template and fill in the values from python. Mail merge from python.

License

Notifications You must be signed in to change notification settings

novel-yet-trivial/DocTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocTemplate

Use a LibreOffice or Word document as a template and fill in the values from python. Mail merge from python.

This is a very dirty program. You probably don't want to use it. You probably want to learn how to use mail merge.

Write a LibreOffice Writer or MS Word document and use standard python placeholders in the format {firstname}. Then you can use this moudle to replace the placeholders with values from a dictionary.

In Word, all placeholders have to be spelled correctly or spell check must be turned off. Word saves the red underlined words in a way that disables the mail merge.

About

Use a LibreOffice or Word document as a template and fill in the values from python. Mail merge from python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages