4,177 questions
4,390 answers
5,755 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py