[wxPython-users] Re: wPython in Action: example chapter 1

Werner F. Bruhin werner.bruhin at free.fr
Fri Apr 20 04:28:10 PDT 2007


Hi there,

7stud wrote:
> Oh, yeah.  Not to mention: there is errata for the example.
>
> I wonder: if the authors can't provide a simple, error free
> introductory example, what chance to the rest of us have
> of writing error free wxPython? 
>   
You will see that people like Robin Dunn are very very good, but you 
know no one is perfect and who knows who made the mistake in the book 
example ;-)
> I'm also fed up with running wxPython programs that briefly
> flash the window at me and quit with no error messages.   
> Is there some way to run wxPython programs where the errors
> in the code are identified?
>   
I use Boa as an IDE, when I started programming with wxPython I liked 
having a screen designer, a debugger, a source editor and help search 
all in one.

For your particular problem it has some nice features.
- if you typed something incorrectly, i.e. a syntax error it will show 
that when you try to save your file, click on the entry and it jumps to 
the line where it found the problem (a little note often syntax error 
are probably a line or two earlier).

- when you run your application and it has throws an exception the 
exception information is written to the output file and you can double 
click on a line of the exception and it jumps into the source code.

Take it easy and have fun with wxPython
Werner




More information about the wxpython-users mailing list