发布时间:2019-09-01 09:50:19编辑:auto阅读(2140)
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)
51967
51768
42052
38894
33390
30355
28994
24014
23926
22286
481°
2651°
3347°
2766°
2758°
3538°
2719°
3547°
5849°
5635°