[wxPython Example] Hello World very basic

Post here if you need help with creating a Graphical User Interface in Python.

[wxPython Example] Hello World very basic

Postby Yoriz » Sat Feb 09, 2013 2:02 pm

Code: Select all
import wx

app = wx.App(False)

frame = wx.Frame(None, -1, 'Hello World')
frame.Show()

app.MainLoop()
Last edited by Yoriz on Tue Mar 19, 2013 1:03 pm, edited 1 time in total.
Reason: Added Example to the title
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Spam topic disapproval technician
Windows7, Python 2.7.4., WxPython 2.9.5.0., some Python 3.3
User avatar
Yoriz
 
Posts: 827
Joined: Fri Feb 08, 2013 1:35 am
Location: UK

Return to GUI

Who is online

Users browsing this forum: W3C [Linkcheck] and 2 guests