[Tutor] program hangs in while loop using wx.yield

Patty patty at cruzio.com
Tue Nov 16 19:08:28 CET 2010


Hi Terry - I am an alumni of UCSC (University of California, Santa Cruz) and 
live really close so I can request books throughout the UC system just like 
you describe and there is no limit - or maybe an extremely high limit - to 
the number of books I can check out from McHenry Library.  It is so worth 
paying alumni dues!  There is no way they would transport books to the 
public library to make it easier for people though - not with the way the 
city and the university feel about each other  :}

And discounts on courses through the University Extension program.  That is 
how I found out about - and took - the online Python for Programmers course. 
Though I wasn't really happy with it and went on to listen to the Google 
website video - that guy was very clear and helpful I forgot his name.  And 
then I went through Alan Gauld's tutorial which also helped.

By coincidence I am still working on my own function where I want to display 
a picture and some text and have a timer so that it stays on screen for a 
specific amount of time and then I go on to close that out and redraw the 
screen.  I am working with the Tkinter documentation and trying to 
understand.  I tried a couple tests just adding a few lines to my own 
program that didn't accomplish exactly what I want, so planning to type in 
very simple examples from the doc, observe that and then go back to my own 
code.

If I just can't figure out how to do this with Tkinter and the Python 
Imaging Library, is 'wxPython' the additional software I would want to 
install and try with?  Is its purpose to make GUI event programming easier 
(that would mean the defaults provided are difficult, right? So I shouldn't 
feel bad about being confused?)  If so, can someone explain these additional 
software packages out there?  I mean are they coming from some third 
companies?  And why?  If the software is free.  I'm not understanding the 
history or business part of these Python modules and libraries.  Isn't there 
one organization who is discussing or approving standards for this language?

Regards,

Patty

----- Original Message ----- 
From: "Terry Carroll" <carroll at tjc.com>
To: <tutor at python.org>
Sent: Monday, November 15, 2010 11:37 PM
Subject: Re: [Tutor] program hangs in while loop using wx.yield


> On Sun, 14 Nov 2010, Alex Hall wrote:
>
>> Is there a basic tutorial for this sort of thing?
>
> Chapter 3 ("Working in an event-driven environment") of the book "wxPython 
> in Action" is a pretty good tutorial on event-driven GUI programming in 
> wxPython.  The book in general is pretty good; I no longer buy many 
> computer books, but this one was worth it.
>
> If you don't want to buy it, if you're in the U.S., you can go to 
> http://www.worldcat.org/oclc/67122432 and plug in your zip code to see if 
> a library near you[1] has it.
>
> [1] or a library that has inter-library loan arrangements with a library 
> near you.  I'm currently reading "Essential SQLAlchemy," courtesy of the 
> San Diego State University library.  My local library (San Jose Public 
> Library) borrowed it from SDSU and then lent it to me.  It's kind of cool 
> that one library will send a book 400 miles to another, just because I'm 
> too cheap to buy a copy and asked for it.
>
> Apologies to anyone at SDSU who's learning SQLAlchemy and wondering why 
> they can't find this book in their library.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
> 



More information about the Tutor mailing list