4,167 questions
4,380 answers
5,732 comments
Yes, just set the walletnotify runtime parameter to:
python /path/to/your/python/script.py