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 -- http://mail.python.org/mailman/listinfo/python-list