Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Demos/Demo07/test.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import sys
print "Win version:", sys.winver
import spam
print spam.foo('hello world', 1)
print (spam.foo('hello world', 1))
p = spam.CreatePoint( 10, 25 )
print "Point:", p
print ("Point:", p)
p.x = 58
print p.x, p
print (p.x, p)
p.OffsetBy( 5, 5 )
print p
print "Current value of var test is: ", test
print (p)
print ("Current value of var test is: ", test)
test.Value = "New value set by Python"
print spam.getdouble()
print (spam.getdouble())