Init project structure

This commit is contained in:
clerie 2022-06-19 13:10:21 +02:00
parent 7222806e00
commit e5e256039c
4 changed files with 22 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
__pycache__

1
fieldpoc/__init__.py Normal file
View File

@ -0,0 +1 @@
#!/usr/bin/env python3

9
fieldpoc/dect.py Normal file
View 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
View 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()