Core Python Programming . . .
Paul Rubin
http
Fri Jan 18 14:55:42 EST 2008
FireNWater <khoard at gmail.com> writes:
> 1) convert a 4-digit Integer (WXYZ) to an IP address (WWW.XXX.YYY.ZZZ)
>
> or
>
> 2) convert an 8-digit Integer (WWWXXXYYYZZZ) to (WWW.XXX.YYY.ZZZ)
>
> Thanks for anyone with the clue!!!
Without being able to see the exercise I suspect it's turn a 4-byte
string (i.e. 32 bits) into an IP address (int8.int8.int8.int8).
Or, it might be turn a 32-bit int into such an address.
More information about the Python-list
mailing list