Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ipython embedded and greenlets?
#!/usr/bin/env python
from gevent import spawn, joinall
import time
import IPython
def work():
while True:
print "Hello"
gl = spawn(work)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment