4,157 questions
4,370 answers
5,718 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py