On 2020-12-31 10:43, Petro wrote:
Hi.
I would like to make something like this:
A python script would run headlessly in the background.
I would like to control the script from the command line using other python 
scripts or from the python shell.
  From time to time I would ask the main script to create a popup window with 
an image or a plot.
What would be the proper way to approach it. How to make communication between 
two scripts?

For communication, a socket would work. There are examples of a simple socket server and a simple socket client in the Python docs for the 'socket' module.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to