4,147 questions
4,360 answers
5,713 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py