signal handler

Gerrit Holl gerrit.holl at pobox.com
Tue Jun 22 15:36:58 CEST 1999


On Tue, Jun 22, 1999 at 09:55:39PM +0900, Thooney Millennier wrote:
> Newsgroups: comp.lang.python
> Subject: signal handler
> Date: 	Tue, 22 Jun 1999 21:55:39 +0900
> To: python-list at python.org
> 
>   import signal;
>   def func(arg1,arg2):
>       DO_SOMETHING_GOOD;
>       print "OK!";
>   signal.signal(SOME_SIGNAL,func);
> 

Why all those ';'s?

groeten,
Gerrit.

-- 
The Dutch Linuxgames homepage:	http://linuxgames.nl.linux.org
Personal homepage:		http://www.nl.linux.org/~gerrit/

Discoverb is a python program in Dutch and English which tests the words you
learned by asking it. Homepage: http://www.nl.linux.org/~gerrit/discoverb/




More information about the Python-list mailing list