4,165 questions
4,378 answers
5,729 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py