发布时间:2019-09-01 09:50:19编辑:auto阅读(1813)
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)
49180
48331
39053
36173
30580
27380
26378
21209
21049
19390
181°
188°
294°
492°
337°
1018°
1023°
1013°
1014°
966°