a simple example

pradeep k wrote:

I just wrote my first program in wxPython. I get so many errors when i tried running it. Can somebody please tell me what's wrong in this code.

Best,
Pkri
------------------------------------------------------------------------

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Your coding seems very confused. Why, for example, have you called your frame a menu? There is no point in defining arguments to a function if you do not make use of them.

I was going to suggest that you look for some tutorials on the wiki (http://wiki.wxpython.org). However, some of them are out-of-date or not quite what I was looking for. So I have added my own called "wxPython by Example" It illustrates quite a lot of different things that you might want in a real application. There is not much explanation but you might find it useful to try out.

Christopher Thoday
Software Engineer