发布时间:2019-09-01 09:50:19编辑:auto阅读(2346)
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)
53102
40025
34408
30158
25058
24856
23231
16710
14866
14358
703°
649°
715°
732°
779°
909°
874°
892°
983°
911°