Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created January 23, 2020 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/e02259cea41d34f4e95646d76d25f15c to your computer and use it in GitHub Desktop.
Save BMU-Verlag/e02259cea41d34f4e95646d76d25f15c to your computer and use it in GitHub Desktop.
from threading import Thread
def loop_receive():
while True:
receive()
receive_thread = Thread(target=loop_receive)
receive_thread.start()
while True:
send()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment