<filename>smartlock py/smartlock.py
#!/usr/bin/env python
from models import *

def main():
    listen = Listener()
    listen.start()

if __name__=='__main__':
    main()

<filename>smartlock py/smartlock.py
#!/usr/bin/env python
from models import *

def main():
    listen = Listener()
    listen.start()

if __name__=='__main__':
    main()

#!/usr/bin/env python