base系列加密解密
import base64
a = base64.b64encode(s)
print a
base64.b32decode(s)
进制转换
var=input("请输入进制数:")
b=bin(int(var,16))
print(b[2:])
import base64
a = base64.b64encode(s)
print a
base64.b32decode(s)
var=input("请输入进制数:")
b=bin(int(var,16))
print(b[2:])