发布时间:2019-09-01 09:50:19编辑:auto阅读(2017)
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)
51326
50780
41374
38178
32665
29556
28394
23273
23241
21565
1646°
2377°
1982°
1922°
2249°
1956°
2650°
4441°
4277°
3047°