How to use recvfrom(Socket Python) from payload[] = {5} (and not {'5'})

Dear
from arduino:

int8_t payload[] = { '5', '6' };

in X2e Gateway

rx_data_ep, rx_addr_ep = sd.recvfrom(8192,MSG_DONTWAIT)

it easy to receive and display; but
how can I do to send

int8_t payload[] = { 5, 6 };

Best regards.

Dear,
here one solution:

Best regards.