Skip to content

Instantly share code, notes, and snippets.

@sadbox
Created April 22, 2014 15:54
Show Gist options
  • Save sadbox/11184498 to your computer and use it in GitHub Desktop.
Save sadbox/11184498 to your computer and use it in GitHub Desktop.
from threading import Thread
def go(f, *args, **kwargs):
thread = Thread(target = f, args = args, kwargs = kwargs)
thread.daemon = True
thread.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment