im currently studying having a python program supply data to a website. to do this, i am working with a simple example. as a disclaimer to you guys: im quite new with webservers and websites so please bear with me.
1. the python program simply generates a random number continuously every few seconds.
2. this data should then be displayed to website
3. what i therefore need is some sort of "socket" that will stay open and receive the python data
btw, im using apache 2.2 as my webserver
im sure most of you have done something similar to this before so please guide me. ive read some solutions (websockets) but most of them are too complex for my trivial application. thank you