发布时间:2019-09-01 09:50:19编辑:auto阅读(1889)
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)
50061
49317
39980
37020
31414
28253
27211
22004
21960
20287
434°
316°
298°
481°
459°
1074°
2004°
1863°
1479°
2990°