I have a website written in python(flask) which I would like to some realtime functionality to. I have looked at some websockets implementations for python, but none of them seem as straightforward and simple as socket.io for Node.js.
Is it possible(and furthermore, practical) to write the realtime component in Node.js and integrate with python(e.g., when a page is hit in the python code, execute this node.js function), or is it just a waste of time?
any help is appreciated!