之前在matlab里我是先转为unit8然后dec2bin的,是8位。。python无效啊。。。python该怎样做?谢各位!
Python String ljust() Method
http://www.tutorialspoint.com/python/string_ljust.htm