def ipStr(ip):
 w = ((ip >> 24) & 255)
 x = ((ip >> 16) & 255)
 y = ((ip >> 8) & 255)
 z = (ip & 255)
 return ('%i.%i.%i.%i' % (w, x, y, z))

def ipStr ( ip ) : w = ( ( ip >> 24 ) & 255 ) x = ( ( ip >> 16 ) & 255 ) y = ( ( ip >> 8 ) & 255 ) z = ( ip & 255 ) return ( '%i.%i.%i.%i' % ( w , x , y , z ) )
generate ip address string from an unsigned int .