Init project structure
This commit is contained in:
parent
7222806e00
commit
e5e256039c
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…
Reference in New Issue
Block a user