发布时间:2019-09-01 09:50:19编辑:auto阅读(1824)
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)
49251
48418
39142
36239
30648
27455
26449
21279
21125
19475
92°
297°
295°
396°
637°
446°
1126°
1111°
1097°
1091°