Recommended Answers
Jump to PostWell, here's the tutorial like you asked for. I've expanded on it quite a bit. Could people please read over it, in case I've made mistakes? There's a better version at my blog because it features screenshots. Link: http://fuse.baywords.com/wxpython-tutorial/
Tutorial: GUI programming with wxPython
Jump to PostSizers
import wx """Example with sizers for dynamic resizing.""" app = wx.App(redirect=False) window = wx.Frame(None, title = 'Sample GUI App', pos = (100,100), size = (400,500)) background = wx.Panel(window) loadBtn = wx.Button(background, label = 'Load') transferBtn = wx.Button(background, label = 'Transfer') inputArea = wx.TextCtrl(background) transferArea = wx.TextCtrl(background, …
Jump to PostHere is a templet file that allows you to package your wxPython program to an executable file with the py2exe module. It contains an XML manifest that gives the wxPython widgets a Windows XP appearance on XP machines:
# Py2Exe version 6.6 setup file for wxPython GUI …
Jump to PostNice stuff there Fuse and Ene!
Here is my contribution, showing you how easy it is to have wxPython display an image from image file:# show .jpg .png .bmp or .gif image on wx.Panel import wx class ImagePanel(wx.Panel): """ create the panel and put image on …
Jump to PostTo get used to wxPython, I took vegaseat's mortgage calculator snippet written in Csharp and converted it to Python. I was surprised how easy it was:
# a simple mortgage calulator using wxPython # checked it out with the online mortgage calculator at: #
All 164 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.