I’m trying to make a web-based program that could dynamically display some data transmitted from python. The simple structure I imagined is like this.
- Python // collect and process data from Twitter (maybe collect data every ten mins)
- Transmission // transmit data from python to Html & display by Javascript (every ten mins)
- Html & Javascript // display data and update information without refreshing
My question is:
I have figured out a way to achieve step1, but I don’t know how to transmit data from python to Javascript. What framework I should try? What file format should I use? What is the easiest approach?
Would anyone help point me in the right direction? Any example or keyword would be really helpful. Thank you much! Haotian