4,159 questions
4,372 answers
5,719 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py