【问题标题】:What type of this value? and how to convert it to hexadecimal?这个值是什么类型的?以及如何将其转换为十六进制?
【发布时间】:2022-11-13 22:18:27
【问题描述】:

我想知道这个值的类型(636e41f79c87b1001d2ce519)。另外,我想在 Python 3.x 中将其转换为十六进制。

我认为这是基础,但我不确定。

【问题讨论】:

  • 这对我来说就像哈希。它是CRC-96 (ZIP)

标签: python python-3.x hex base


【解决方案1】:

对于十六进制,您可以添加“0x” 我 = 0x636e41f79c87b1001d2ce519

打印(类型(i))

<类'int'>

【讨论】:

    猜你喜欢
    • 2023-02-20
    • 2019-06-10
    • 1970-01-01
    • 1970-01-01
    • 2014-02-05
    • 2011-07-02
    • 2021-11-12
    • 2012-11-23
    相关资源
    最近更新 更多