发布时间:2019-09-01 09:50:19编辑:auto阅读(2559)
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)
54740
41526
36104
31579
26479
26180
24710
20298
16255
15681
2719°
2467°
2579°
2709°
2666°
2888°
2804°
2653°
2666°
2641°