'Sharing real time data between a VB.net application and a python script

I have two scripts in my Visual Studio 2019 solution. One in visual basic, and one in python.

They run independently, but I need to share realtime data.

I tried to reference the python project in the vb form, but it doesn't allow me to do that (I suppose because python is not compiled).

So I added a json file, but once the python script starts writing the vb form cannot read it anymore.

Is there a proper way to send data in my case?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source