How do i sent a event from a webpage to a client application
One solution is to use sockets, another solution is to convert python script into webapp with api (e.g. use Flask) and when your wordpress page sends get/post http request to python script and tirgger python script to go checking db. The second one is easier to implement from my point of view. Sockets are more difficult for me.
I have a webpage(Wordpress) updating some tabel information in the MySQL database. And i have a client application on aother pc runing a standalone Pythonscript accessing the same MySQL server for getting and setting data. 
How do i implment a trigger from my webside that can trigger an event in my python code to see if the data in database are updated, without polling the mysql db ?
Is there som simple Message Queue I can implement easy or how.