Python: Number Conversion Chart

Ever forget how to take a hex string like "2D" and convert it into binary data? Or how to parse an ascii-binary string like "101101" into a plain integer? Me too.

That’s why I crafted this table. It doens’t include all conversion, but it includes every conversion type I know, and you can chain them to get from any source type to any destination.

Every from/to cell assumes that the “original” integer is 45. Enjoy!

Discuss this post at the comment section below.
Follow me on Twitter , Facebook or Google+

Similar Posts