Hello, i want to use a long living thread in my notebook. I dumbed it down to this basic example:
import threading
import time
threading.Thread = mo.Thread
def run_long():
while True:
print("looping")
time.sleep(1)
bar = threading.Thread(target=run_long)
bar.start()
When i run this cell, looping is only printed once (it looks like the while loop stop after one iteration).