About UNIX shell trap, any relative function in Python ?

Chris Angelico rosuav at gmail.com
Sat Dec 15 17:05:47 CET 2012


On Sun, Dec 16, 2012 at 3:04 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Sun, Dec 16, 2012 at 2:34 AM, moonhkt <moonhkt at gmail.com> wrote:
>>
>> Hi All
>>
>> Machine : AIX 5.3
>> Python : 2.6.2
>
> Yep! Check out the 'signal' module:
>
> http://docs.python.org/3.3/library/signal.html

Or, since you're working with 2.6.2:

http://docs.python.org/2.6/library/signal.html

ChrisA



More information about the Python-list mailing list