<s> import py <EOL> from remotepath import RemotePath <EOL> SRC = open ( '<STR_LIT>' , '<STR_LIT:r>' ) . read ( ) <EOL> SRC += '''<STR_LIT>''' <EOL> gw = py . execnet . PopenGateway ( ) <EOL> gw . remote_init_threads ( <NUM_LIT:5> ) <EOL> c = gw . remote_exec ( SRC , stdout = py . std . sys . stdout , stderr = py . std . sys . stderr ) <EOL> subchannel = gw . _channelfactory . new ( ) <EOL> c . send ( subchannel ) <EOL> p = RemotePath ( subchannel , c . receive ( ) ) </s>
