mirror of
https://github.com/thp/pyotherside.git
synced 2025-01-28 23:52:55 +08:00
12 lines
192 B
Python
12 lines
192 B
Python
|
import pyotherside
|
||
|
import threading
|
||
|
import time
|
||
|
|
||
|
def run():
|
||
|
while True:
|
||
|
pyotherside.send("test-errors")
|
||
|
time.sleep(3)
|
||
|
|
||
|
thread = threading.Thread(target=run)
|
||
|
thread.start()
|