Is it possible to stream output from a python subprocess to a webpage in real time?
Thanks in advance for any help. I am fairly new to python and even newer to html. I have been trying the last few days to create a web page with buttons to perform tasks on a home server. At the moment I have a python script that generates a page with buttons: (See the simplified example below. removed code to clean up post) Then a python script which runs said command and outputs to an iframe on the page: (See the simplified example below. removed code to clean up post) This does output the entire finished output after the command is finished. I have also tried adding the -u option to the