4,152 questions
4,365 answers
5,715 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py