一開始我們先引入python-docx, from docx import Document ,接著透過 Document() 建構函式宣告一個Document 物件。 add_heading() 是建立標題的方法.
確定! 回上一頁