<s> """<STR_LIT>""" <EOL> from IPython . parallel import Client <EOL> rc = Client ( ) <EOL> def sleep_and_echo ( t , msg ) : <EOL> import time <EOL> time . sleep ( t ) <EOL> return msg <EOL> view = rc . load_balanced_view ( ) <EOL> world = view . apply_async ( sleep_and_echo , <NUM_LIT:3> , '<STR_LIT>' ) <EOL> hello = view . apply_async ( sleep_and_echo , <NUM_LIT:2> , '<STR_LIT>' ) <EOL> print ( "<STR_LIT>" , hello . msg_ids , world . msg_ids ) <EOL> print ( hello . get ( ) , world . get ( ) ) </s>
