0

Hello guys,
I'm new to python
I want to use wxPython for Gui programming
The main problem to me is how to start
wxpython have good looking but then no documentation
regards
steve

4
Contributors
10
Replies
11
Views
9 Years
Discussion Span
Last Post by ZZucker
0

I have found good IDE though I haven't tested.wxDev-C++ , for use with Dev-C++.
Is there anybody who knows how to configure it to work with wxPython? I saw them saying it is capable of exporting xml files,Is that helpful.
with thanks
steve

0

I bought wxPython in action book, which really helped me. ISBN 1-932394-62-1. I have developed two applications that use wxPython. Both are stable and the users like the interface. Hope that helps.

David

0

hello there,
God is good and i'm back again

Comments:
the tutorials at zetcode.com are really great!

need help:
I have been stuck here,I cannot make the single standing frame using python class;Is there something wrong.when I run code on Stani SPE IDE the script is terminated
Help please!!!
code

import wx
class centre(wx.Frame):
def _init_ (self,parent,id,title):
wx.Frame._init_(self,parent,id,title)

self.Centre()
self.Show(True)

app=wx.App()
centre(parent,-1,'Centre')
app.MainLoop()

another question:
How to compile stani's SPE IDE to executable file
I have tried py2exe with SPE.py but nothing seems to prosper,Help please!!

Last question:Which is best between Stani IDE and BOA constructor?

Highly appreciate you guys
Steve

0

There are some rather obvious errors in your code. You also need to give attention to the indentation rules:

# there were some errors
# _init_() should have double underlines __init__()
# parent should be None for the class instance

import wx
class centre(wx.Frame):
    def __init__ (self,parent,id,title):
        wx.Frame.__init__(self,parent,id,title)
        
        self.Centre()
        self.Show(True)
        
app=wx.App(0)
parent = None
centre(parent,-1,'Centre')
app.MainLoop()
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.