[英]Communication between processing and Python?
I am writing a program in processing and am trying to find away to get it to communicate with an enviro pHAT, which uses a python library. 我正在编写一个正在处理的程序,并试图找到使其与使用Python库的环境pHAT通信的方法。 How can I create a local server on processing which I can connect to a client in python? 如何在处理中创建可以连接到python客户端的本地服务器?
You can use Processing's Network library: https://processing.org/reference/libraries/net/index.html 您可以使用Processing的网络库: https : //processing.org/reference/libraries/net/index.html
Here's an example of setting up a server: https://processing.org/reference/libraries/net/Server.html 这是设置服务器的示例: https : //processing.org/reference/libraries/net/Server.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.