发布时间:2019-09-01 09:50:19编辑:auto阅读(2207)
from reportlab.graphics.shapes import Drawing, String
from reportlab.graphics import renderPDF
d = Drawing(200, 200)
s = String(50, 50, 'victor is a good man', textAncher='middle')
d.add(s)
renderPDF.drawToFile(d, r'd:\victor.pdf', 'simple pdf')
上一篇: python(六)
下一篇: 什么是makefile(3)
52335
52236
42384
39270
33742
30699
29437
24363
24239
22612
84°
102°
111°
123°
114°
222°
210°
226°
227°
271°