with open("template.html",'r',encoding='utf-8') as f: content = f.read() content = content.replace("{替換標籤}",str("替換結果")) pdfkit.from_string(content ...
確定! 回上一頁