title: Convert "little endian" hex string to IP address in Python
body: <p>What's the best way to turn a string in this form into an IP address: <code>"0200A8C0"</code>. The "octets" present in the string are in reverse order, i.e. the given example string should generate <code>192.168.0.2</code>.</p>