发布时间:2019-09-01 09:50:19编辑:auto阅读(2369)
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)
53253
40133
34511
30252
25162
24952
23352
16879
14956
14466
842°
768°
840°
847°
897°
1024°
1012°
1011°
1120°
1032°