Unable to run basic WxPython GUI script from tutorial. Inconsistences in Windows 7, bad install?

Hi Michael,

General Information:

I hear a lot of great things about wxpython, and I want to get familiar with
using the GUI, so I've made several stabs at getting it to work. I've been
trying to get wxpython to work consistently on my machine for many months,
having abandoned it and walked away several times and then come back to
experience more frustration.

I have the very strong feeling that there is something wrong with my
installation, but I don't understand what it is. I have installed and
re-installed the package and nothing helps. I install python scripts by
directly copying the entire script from a web page and running it... and it
doesn't do the same thing on my machine it does on other machines.
Frequently it creates a window with no widgets, and can only be closed
through the task manager, as in this case. It's driving me insane.

I used to like python but i'm wondering if I'd should walk away from the
language at this point, maybe try to learn programming with a different
language because the inconsistences are making it impossible for me to
progress now. I don't know how to learn a language that seems to perform
differently for everyone else.

I run Windows 7, Python 2.7.3, and use the Idle GUI. If anybody has
experienced similar problems please let me know.

When I do a copy and paste of your included code on my Win7
installation of Python and wxPython, I too just get a gray box.

But my editor seems to be indicating that you're mixing Tabs and
Spaces. That's a no-no in Python. (I generally use only Spaces in
Python.)

I don't know if it's an artifact of the way the code appears in Gmail or not.

The best thing to do is Attach your code to your message to the e-mail list.

Try again as an Attachment?

Hope this helps. Good luck.

Cheers,
Scott.

ยทยทยท

On Tue, Jan 22, 2013 at 5:02 PM, Michael Webb <wonkishere@gmail.com> wrote: