Events in Python?
Diez B. Roggisch
deets at nospam.web.de
Wed Apr 26 11:45:08 EDT 2006
redefined.horizons at gmail.com wrote:
> Here is another non-pythonic question from the Java Developer. (I beg
> for forgiveness...)
>
> Does Python have a mechanism for events/event-driven programming?
>
> I'm not necessarily talking about just GUIs either, I'm interested in
> using events for other parts of an application as well.
>
> If there isn't some sort of event mechanism built into Python, where
> might I find some information about implementing one?
In python 2.5, generators accept parameters. That might be a good
starting-point for an event-system.
Diez
More information about the Python-list
mailing list