def ip_num_to_string(ip):
 return '.'.join(map((lambda n: str(((ip >> n) & 255))), [24, 16, 8, 0]))

def ip_num_to_string ( ip ) : return '.' . join ( map ( ( lambda n : str ( ( ( ip >> n ) & 255 ) ) ) , [ 24 , 16 , 8 , 0 ] ) )
convert 32-bit integer to dotted ipv4 address .