[Python] Set paragraph font in python-docx

Discussão em 'Python' iniciado por Stack, Abril 15, 2025.

  1. Stack

    Stack Membro Participativo

    I am using python-docx 0.7.6.

    I can't seem to be able to figure out how to set font family and size for a certain paragraph.

    There is .style property but style="Times New Roman" doesn't work.

    Can somebody please point me to an example?

    Thanks.

    Continue reading...

Compartilhe esta Página