发布时间:2019-09-01 09:50:19编辑:auto阅读(2437)
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)
53750
40583
35006
30731
25601
25372
23809
19290
15404
14902
1467°
1351°
1452°
1487°
1496°
1673°
1628°
1526°
1624°
1578°