发布时间:2019-09-01 09:50:19编辑:auto阅读(1990)
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)
51162
50571
41192
38021
32485
29389
28250
23106
23069
21392
1442°
2157°
1788°
1709°
2016°
1783°
2460°
4141°
4009°
2861°