I create a button node : @button test . and write the python code:
import threading
import os
import time
def test():
time.sleep(3)
g.es("%s"%datetime.datetime.now())
t = threading.Thread(target=test)
t.daemon = True
t.start()
but after a while, the Leo Editor crash.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.