Python: two loops at once
- by Stephan Meijer
I've got a problem: I am new to Python and I want to do multiple loops. I want to run a WebSocket client (Autobahn) and I want to run a loop which shows the filed which are edited in a specific folder (pyinotify or else Watchdog).
Both are running forever, Great. Is there a way to run them at once and send a message via the WebSocket connection…