re-assemble python

Dear,
I’m a newbie: how can I do in Python to re-assemble some payload like:

  uint16 value ;
  uint8 payload [170];

  payload[k]= value >> 8 & 0xff;
  payload[k+1]= value & 0xff;

Best regards.