Skip to content

Python3 fix in hellloform example (develop) #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2016
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
8 changes: 4 additions & 4 deletions demo/helloform.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import clr
SWF = clr.AddReference("System.Windows.Forms")
print SWF.Location
print (SWF.Location)
import System.Windows.Forms as WinForms
from System.Drawing import Size, Point

Expand Down Expand Up @@ -49,7 +49,7 @@ def __init__(self):

def button_Click(self, sender, args):
"""Button click event handler"""
print "Click"
print ("Click")
WinForms.MessageBox.Show("Please do not press this button again.")

def run(self):
Expand All @@ -58,9 +58,9 @@ def run(self):

def main():
form = HelloApp()
print "form created"
print ("form created")
app = WinForms.Application
print "app referenced"
print ("app referenced")
app.Run(form)


Expand Down