处理与Python之间的通信?

时间:2019-04-25 15:55:45

标签: python server client processing

我正在编写一个处理程序,并试图找到使其与使用Python库的环境pHAT通信的方法。如何在处理中创建可以连接到python客户端的本地服务器?

1 个答案:

答案 0 :(得分:0)

您可以使用Processing的网络库: https://processing.org/reference/libraries/net/index.html

以下是设置服务器的示例: https://processing.org/reference/libraries/net/Server.html