mirror of
https://git.clerie.de/clerie/fieldpoc.git
synced 2026-01-03 06:18:12 +00:00
Init project structure
This commit is contained in:
parent
7222806e00
commit
e5e256039c
4 changed files with 22 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
__pycache__
|
||||
1
fieldpoc/__init__.py
Normal file
1
fieldpoc/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/env python3
|
||||
9
fieldpoc/dect.py
Normal file
9
fieldpoc/dect.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import mitel_ommclient2
|
||||
import time
|
||||
|
||||
def run():
|
||||
while True:
|
||||
print("meow")
|
||||
time.sleep(2)
|
||||
11
fieldpoc/run.py
Normal file
11
fieldpoc/run.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import threading
|
||||
|
||||
from . import dect
|
||||
|
||||
def run():
|
||||
threading.Thread(target=dect.run).start()
|
||||
|
||||
if __name__ == "__main__":
|
||||
run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue