Is there a better way to convert int to bytes then going through strings:

x=5
str(x).encode()


Thanks.

--
Yves.                                                  http://www.SollerS.ca/
                                                       http://blog.zioup.org/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to