I am running this script:
script = Import["!python C:\\...python script", "String"];
but I need to run it a few times as it outputs data I need. I run it every time I change something so I would like to keep it running continuously or give me a 'live' feed of changes. I am trying to use
Dynamic, but I am not sure how I can do it.
My program is just a stream as I am using a sensor as a camera and the Python script that I run gives me the measurements that I need. The measurements change if I make the surroundings darker or lighter. Basically I'm taking pictures but I would like to be at a constant rate so it would work as a live-feed camera. Whenever I run the script it gives me different measurements so that is why I need to constantly run it but doing it manually seems like a hassle. I would like to keep running it without me doing it. Now I am using
RunScheduleTask but it seems to be slow. Is there another way around this?