Took some time to explore Flask-SocketIO from Miguel Grinberg
Look for the blog post here: TimmyReilly.com
Flask is a microframework
Free MVA on Flask if you want to learn more!
The five steps to this little demo project are as follows:
Install Flask-SocketIO into our Virtual Environment
Create our background thread
Have it emit the current state to our client
Call the background thread when our page render_template's
Celebrate! Its Friday!
Feel free to download it and start working with dynamic sites using SocketIO. Please let me know if you have any questions!