for i in range(0xA1A2,0xA1A5):
b1=i&0xFF;
b2=i>>8;
GBKChar1=chr(b2);
GBKChar2=chr(b1);
GBKChar=GBKChar1+GBKChar2;
print "%s\t%0X%0X"%(GBKChar,b2,b1);
for i in range(0xA1AE,0xA1C0):
b1=i&0xFF;
b2=i>>8;
GBKChar1=chr(b2);
GBKChar2=chr(b1);
GBKChar=GBKChar1+GBKChar2;
print "%s\t%0X%0X"%(GBKChar,b2,b1);
for i in range(0xA3A1,0xA3B0):
b1=i&0xFF;
b2=i>>8;
GBKChar1=chr(b2);
GBKChar2=chr(b1);
GBKChar=GBKChar1+GBKChar2;
print "%s\t%0X%0X"%(GBKChar,b2,b1);
for i in range(0xA3BA,0xA3C0):
b1=i&0xFF;
b2=i>>8;
GBKChar1=chr(b2);
GBKChar2=chr(b1);
GBKChar=GBKChar1+GBKChar2;
print "%s\t%0X%0X"%(GBKChar,b2,b1)
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)