I'm coming from Tcl-world ...

Cameron Laird claird at starbase.neosoft.com
Fri Aug 2 10:56:17 EDT 2002


In article <slrnakl3mb.c05.Andreas.Leitgeb at pc7499.gud.siemens.at>,
Andreas Leitgeb <avl at logic.at> wrote:
			.
			.
			.
>3.) event-based scripting. (like 'fileevent','after',... in Tcl)
>   I've read somewhere, that with tkinter I get access to tcl's event-stuff,
>   But I was more after something that also works without Gui and without
>   actually using Tcl through Python.  Is there a builtin module that
>   wraps the select() or poll() systemcall, and invokes the registered
>   functions if "their" respective channel becomes readable/writable
>   or a timer runs out ?
			.
			.
			.
Yes.  You'll want to read about the select and asyncore modules.

Also, Pythoneers do much more multi-threading (at a scripting
level) than is typical for Tcl.
-- 

Cameron Laird <Cameron at Lairds.com>
Business:  http://www.Phaseit.net
Personal:  http://starbase.neosoft.com/~claird/home.html



More information about the Python-list mailing list