发布时间:2019-09-01 09:50:19编辑:auto阅读(2483)
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)
54150
40909
35429
31058
25951
25683
24134
19678
15739
15205
1967°
1816°
1900°
1994°
1979°
2159°
2117°
1936°
2013°
1995°