def set_var_slice(self, name, start, count, var):
method = "<STR_LIT>"<EOL>A = var<EOL>metadata = {<EOL>method: name,<EOL>"<STR_LIT:start>": start,<EOL>"<STR_LIT:count>": count<EOL>}<EOL>send_array(self.socket, A, metadata)<EOL>A, metadata = recv_array(<EOL>self.socket, poll=self.poll, poll_timeout=self.poll_timeout,<EOL>flags=self.zmq_flags)<EOL>
Set the variable name with the values of var