Skip to content

Commit d3c2a03

Browse files
committed
Made Python 3 compatible
1 parent 5d83959 commit d3c2a03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Demos/Demo07/test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import sys
22
print "Win version:", sys.winver
33
import spam
4-
print spam.foo('hello world', 1)
4+
print (spam.foo('hello world', 1))
55
p = spam.CreatePoint( 10, 25 )
6-
print "Point:", p
6+
print ("Point:", p)
77
p.x = 58
8-
print p.x, p
8+
print (p.x, p)
99
p.OffsetBy( 5, 5 )
10-
print p
11-
print "Current value of var test is: ", test
10+
print (p)
11+
print ("Current value of var test is: ", test)
1212
test.Value = "New value set by Python"
13-
print spam.getdouble()
13+
print (spam.getdouble())

0 commit comments

Comments
 (0)