How can I create a language independent library using Python?

后端 未结 7 1818
夕颜
夕颜 2021-01-11 10:51

If I create a package in Python, then another Python user can import that package and interface with it.

How can I create a package so that it doesn\'t matter what l

7条回答
  •  独厮守ぢ
    2021-01-11 11:12

    As it has been already mentioned many times - one of the ways is to create REST API and send input and output over HTTP.

    However, there is another option which is more complex. You can use CORBA (Common Object Request Broker Architecture). There is an implementation of CORBA in python omniORB. CORBA allows to interface between apps written in various languages.

    There are a number of examples on using CORBA with python on the web.

提交回复
热议问题