I am using a python script that runs in a curses wrapper loop. I would like to have a conky display show the values of various str vars in the script, updating every second. I know i could have the python script write data to a text file and have conky read the file, but that seems inefficient and unscalable. What are some ways to do this without text files? I imagine using sockets or pipes and a helper script called from conky like this
${exec "helper.py --get-variable=var_a"}
I havent found much on how to do this. I am on manjaro linux. What is the best way?