发布时间:2019-09-01 09:50:19编辑:auto阅读(1783)
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)
48876
47942
38721
35864
30289
27044
26075
20911
20714
19076
512°
612°
615°
618°
595°
579°
645°
718°
836°
942°