开发者

How can i call a local python function from my remote app server?

开发者 https://www.devze.com 2023-02-12 03:05 出处:网络
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 mas

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!!

0

精彩评论

暂无评论...
验证码 换一张
取 消