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