发布时间:2019-09-01 09:50:19编辑:auto阅读(2588)
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)
55030
41828
36423
31825
26731
26415
24936
20554
16486
15902
3071°
2780°
2875°
3027°
2955°
3240°
3120°
2967°
2943°
2934°