- Mensaje reenviado
> De: Peter Otten <__pete...@web.de>
> Para: python-list@python.org
> Asunto: Re: Calling function from another module
> Fecha: Thu, 16 Dec 2010 13:16:30 +0100
> Grupos de noticias: comp.lang.python
>
> craf wrote:
>
> &g
craf wrote:
> Hi.
>
> The query code is as follows:
>
> --
> import Tkinter
> import tkMessageBox
>
>
> class App:
> def __init__(self, master):
> master.protocol("WM_DELETE_WINDOW",quit)
>
>
> def quit():
> if tkMessageBox.
On Dec 15, 6:46 pm, craf wrote:
> Hi.
>
> The query code is as follows:
>
> --
> import Tkinter
> import tkMessageBox
>
> class App:
> def __init__(self, master):
> master.protocol("WM_DELETE_WINDOW",quit)
>
> def quit():
> if tkM
Hi.
The query code is as follows:
--
import Tkinter
import tkMessageBox
class App:
def __init__(self, master):
master.protocol("WM_DELETE_WINDOW",quit)
def quit():
if tkMessageBox.askyesno('','Exit'):
master.quit()