发布时间:2019-09-01 09:50:19编辑:auto阅读(1972)
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)
50984
50369
40982
37851
32314
29204
28090
22919
22886
21216
1081°
1761°
1444°
1378°
1649°
1464°
2120°
3675°
3611°
2538°