8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e648fa2 + 41375eb commit 2e2971cCopy full SHA for 2e2971c
demo/helloform.py
@@ -9,7 +9,7 @@
9
10
import clr
11
SWF = clr.AddReference("System.Windows.Forms")
12
-print SWF.Location
+print (SWF.Location)
13
import System.Windows.Forms as WinForms
14
from System.Drawing import Size, Point
15
@@ -49,7 +49,7 @@ def __init__(self):
49
50
def button_Click(self, sender, args):
51
"""Button click event handler"""
52
- print "Click"
+ print ("Click")
53
WinForms.MessageBox.Show("Please do not press this button again.")
54
55
def run(self):
@@ -58,9 +58,9 @@ def run(self):
58
59
def main():
60
form = HelloApp()
61
- print "form created"
+ print ("form created")
62
app = WinForms.Application
63
- print "app referenced"
+ print ("app referenced")
64
app.Run(form)
65
66
0 commit comments