简体   繁体   中英

Transfer Data between two python program by python

I have two simple programs written by Python, do not care they, I searching for a way to transfer data between those app and find two module socket and multiprocessing.connection which I found the second one from a question which is this

But I did not find much information about this issue and I do not know at all which of these modules are more widely used or whether there is a better module which also has a good document?

某物

It's true that I can import programs together But I need to expand this connection between two computers using a LAN cable

Does anyone know exactly what I'm looking for so he can guide me first and tell me what keywords to use for the search?

So Simple You need to use ROS for this application ROS is Robotic Operation System that we use it in Robots but it's usage is transferring data's between two or multiple files together and managing our project in robotic systems, Even cpp with python files.

See this link for more: https://www.ros.org/

Also you can write your final data in a text document and check the document context with your second file and also reverse.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM