use bytes data
[PyX.git] / examples / hello.py
blobdf944a2c9ee035e5659d2212939f4145fedda892
1 from pyx import *
3 c = canvas.canvas()
4 c.text(0, 0, "Hello, world!")
5 c.stroke(path.line(0, 0, 2, 0))
6 c.writeEPSfile()
7 c.writePDFfile()