4,164 questions
4,377 answers
5,729 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py