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