Yes, 0x indicates a hex value. tried like this, txt = int(valueh[:2]) ValueError: invalid literal for int() with base 10: '0x'
確定! 回上一頁