You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
246B

  1. import os
  2. import time
  3. os.environ['ntwork_LOG'] = "ERROR"
  4. import ntwork
  5. wework = ntwork.WeWork()
  6. def forever():
  7. try:
  8. while True:
  9. time.sleep(0.1)
  10. except KeyboardInterrupt:
  11. ntwork.exit_()
  12. os._exit(0)