repo.or.cz
/
PyX
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
changes for new normpath constructor
[PyX/mjg.git]
/
examples
/
hello.py
blob
40f8401384501e7ced78c626bcc9e47ca1f34545
1
from
pyx
import
*
2
3
c
=
canvas
.
canvas
()
4
c
.
text
(
0
,
0
,
"Hello, world!"
)
5
c
.
stroke
(
path
.
line
(
0
,
0
,
2
,
0
))
6
c
.
writeEPSfile
(
"hello"
)