Questions tagged «base62»

20
Base 62转换
如何将整数转换为以62为底的整数(如十六进制,但具有以下数字:“ 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ”)。 我一直在为它寻找一个好的Python库,但是它们似乎都被转换字符串所占据。Python base64模块仅接受字符串并将一个数字转换为四个字符。我正在寻找类似于URL缩短器使用的东西。
90 python  math  base62 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.