发布时间:2019-09-01 09:50:19编辑:auto阅读(2123)
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)
51922
51689
42011
38849
33336
30310
28949
23962
23878
22247
350°
2574°
3244°
2700°
2680°
3413°
2644°
3480°
5712°
5512°