callback patterns and idioms in Python
callback patterns and idioms in Python
callback patterns and idioms in Python
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
K<strong>in</strong>ds of "Event" <strong>callback</strong>s<br />
Events "proper"...:<br />
Observer/Observable design pattern<br />
GUI frameworks (mouse, keyboard, ...)<br />
asynchronous (event-driven) I/O (net &c)<br />
"system-event" <strong>callback</strong>s<br />
Pseudo-events for "structur<strong>in</strong>g" execution:<br />
"event-driven" pars<strong>in</strong>g (SAX &c)<br />
"scheduled" <strong>callback</strong>s (sched)<br />
"concurrent" <strong>callback</strong>s (threads &c)<br />
tim<strong>in</strong>g <strong>and</strong> debugg<strong>in</strong>g (timeit, pdb, ...)<br />
10