How can i call a local python function from my remote app server?
I have written a python application with an inclusion of an ActiveX control(ocx) to 开发者_开发百科print via serial Port to an Epson receipt printer using the win32com library. It's Ok !!! but my master app in on another server. How can i comunicate with my app locally?
What you need is a Remote procedure call framework. See this question for various solutions in Python.
Solved!!! I've solved this problem using on my local PC a python module called SimpleHTTPServer that include my function and call my ocx component!!
精彩评论