How to "catch" a signal

Greetings,

I would like to know how to catch and handle a signal from the os, i.e.
"Kill -SIGUSR1 my_wxpython_app_pid"

Edgardo "Edgar" Delgado