I would suggest interpreting the input as a number, then using standard number-formatting routines. padded = str.format('0x{:08X}', int(mystring ...
確定! 回上一頁