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

1.3k views Asked by At

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?

2

There are 2 answers

0
Kimvais On

What you need is a Remote procedure call framework. See this question for various solutions in Python.

0
e.arbitrio On

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