[英]Recommendations for communication between Python scripts
I want to write a few python3 scripts that can retrieve almost instantly some variables (less than 400 integers in total) shared by one another.我想编写一些 python3 脚本,它们几乎可以立即检索一些彼此共享的变量(总共少于 400 个整数)。
Some scripts are reading data from sensors and sharing their values.一些脚本从传感器读取数据并共享它们的值。 Some are logging values, other is processing data and sets its variables according to target motor speed.
一些是记录值,另一些是处理数据并根据目标电机速度设置其变量。
I recommend one of the following solutions:我推荐以下解决方案之一:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.