Question: Event driven programming
Károly Ladvánszky
aa at bb.cc
Sat Oct 27 15:01:08 EDT 2001
Thanks for your answer.
What I have in my mind is not necessarily UI related. In VB, objects can
raise events, objects interested in the events will handle them.
Thats a very simple mechanism, facilitates easy coding in many situations,
even if its just a console application with no GUI at all.
They are similar to exceptions but they return to the caller and they can
have parameters/return values of any kind.
"Fredrik Lundh" <fredrik at pythonware.com> az alábbiakat írta a következõ
üzenetben: news:3BBC7.3002$Z_1.506578 at newsc.telia.net...
> Károly Ladvánszky wrote:
> > Does Python have means for event driven programming?
>
> can you elaborate.
>
> most ui frameworks for Python, and many network frameworks
> (e.g. medusa) and parsers (e.g. sax-style XML parsers) use
> event-driven programming. but they're all based on callbacks
> and template methods...
>
> </F>
>
>
______________________________________________________________________________
Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net
More information about the Python-list
mailing list