Python Docx from Beginner to Winner

Learn How to Generate Microsoft Word Files


Welcome to Python Docx from Beginner to Winner!

Here we will learn together how to use python-docx module to generate dynamically docx files! Docx files automation with Python will become to you as easy as pie!

In each session we will replicate a Microsoft docx previously created by hand. 

Together we will explore python-docx API, we will look at its code, we will debug its code and we will improve its code!

It will be fun, bold and memorable!

Also we will take a look at its internal XML code, we will compare with the original one, we will understand how it works and we will change it in our favor! 

After taking the first session you will be already able to:

  • Insert paragraphs;
  • Insert images;
  • Insert tables;
  • Format tables;
  • Align paragraphs and images;
  • Change paragraph font name and size;
  • Use TTF fonts;
  • Change paragraph color;
  • Add/remove bold, italic and underline;
  • Add different styles of underline: single, double line, wave, and more;
  • Create your own paragraph styles;
  • Look at its internal XML code, understand it and change it;
  • Add pagination.

Quite a journey right?

Join with me to this challenge of exploring python-docx module, we have a lot to learn!

Become a winner and start automate your Microsoft Docx files now!


  • Create docx files with Python
  • Change the font color and size
  • Change font name, use TTF fonts
  • Insert images and paragraphs
  • Align paragraphs and images
  • Set/Unset bold, italic and underline
  • Set different underline styles: single, dash, dot dot dash
  • Insert tables
  • Change the internal XML data
  • Add page number


  • Basic Knowledge about Python;
  • You need Python 3.8.x or later;
  • Visual Studio Code (Recommended);
  • Visual Studio Code "Python from Microsoft" and "Pylance from Microsoft" extensions;
  • Visual Studio Code "XML Tools" extension;
  • 7zip or similar;
  • Eager to learn.
Show More


  • Introduction + Requirements [Part 0 of 35]
  • Hello World Python Docx [Part 1 of 35]
  • Define Document Creation Skeleton [Part 2 of 35]
  • Add Title Heading [Part 3 of 35]
  • Title Font Name [Part 4 of 35]
  • Title Font Size [Part 5 of 35]
  • Title Remove Bold [Part 6 of 35]
  • Title Font Color [Part 7 of 35]
  • Title Align Center [Part 8 of 35]
  • Page Size [Part 9 of 35]
  • Page Margins [Part 10 of 35]
  • Header and Footer Distance [Part 11 of 35]
  • Paragraph Spacing - Before/After [Part 12 of 35]
  • No Feedbacks Posted Yet..!
Python Docx from Beginner to Winner
This Course Includes
  • 2 hours
  • 13 Lectures
  • 13 Resources
  • Completion Certificate
  • Lifetime Access
  • 30-Days Money Back Guarantee

Sample Certificate

Use your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

We have 30 Million registgered users and counting who have advanced their careers with us.


Sample Certificate