How to set my gui?

Alister alister.ware at ntlworld.com
Fri Apr 19 04:42:48 EDT 2013


On Thu, 18 Apr 2013 23:24:29 +0200, Tracubik wrote:

> Hi all!
> I'm trying to make a simple program that essentially do this:
> 
> 1) open a html file (extracted epub file)
> 2) search for occurrences like "ita-ly"
> 3) put them on a simple GUI: 1 text field and two buttons: keepy it and
> correct it (i.e. it will become italy)
> 
> now this is quite simple but how can i do it properly?
> i suppose i've to first generate the window and than populate it, but
> where i've to put the "search for occurences" code? I don't think init()
> is the right place..
> 
> Thanks MedeoTL
One simple way
Make a method to search for the next occorance & use that as button click 
event.




-- 
"Faith:  not *wanting* to know what is true."
-- Friedrich Nietzsche



More information about the Python-list mailing list