How to send notifications using Python