发布时间:2019-09-01 09:50:19编辑:auto阅读(1848)
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)
49585
48806
39480
36553
30951
27779
26746
21567
21453
19804
492°
900°
841°
866°
1784°
970°
1648°
1866°
1477°
1432°