怎么输出十六进制数比如我想输出0001H、0002H怎么输出呢? [解决办法]
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32Type "copyright", "credits" or "license()" for more information.>>> print "%04xH" % 10001H>>>