environment/share/doc/ipython/examples/parallel/customresults.py
def sleep_here(count, t):
    """simple function that takes args, prints a short message, sleeps for a time, and returns the same args"""
    import time,sys
    print("hi from engine %i" % id)
    sys.stdout.flush()
    time.sleep(t)
    return count,t
def sleep_here(count, t):
    import time,sys
    print("hi from engine %i" % id)
    sys.stdout.flush()
    time.sleep(t)
    return count,t
def sleep_here ( count , t ) : import time , sys print ( "hi from engine %i" % id ) sys . stdout . flush ( ) time . sleep ( t ) return count , t
simple function that takes args, prints a short message, sleeps for a time, and returns the same args
simple function that takes args prints a short message sleeps for a time and returns the same args