i want to convert a string to hexadecimal ... def str2hex(s):. return ' '.join([(' 0 '+hex(ord(c)).split(' x')[ 1 ])[ - 2 :] for c in s]) ...
確定! 回上一頁