Sure, let Zorro call your Python function and use the returned predition for a trade signal. You need Zorro 2.50 when your Python code is 64 bit.

http://manual.zorro-project.com/python.htm