(address)
Represent an address as 4 packed bytes in network (big-endian) order.

    Args:
        address: An integer representation of an IPv4 IP address.

    Returns:
        The integer address packed as 4 bytes in network (big-endian) order.

    Raises:
        ValueError: If the integer is negative or too large to be an
          IPv4 IP address.
Represent an address as 4 packed bytes in network (big-endian) order.
Represent an address as 4 packed bytes in network ( big - endian ) order .
def v4_int_to_packed(address):
    """Represent an address as 4 packed bytes in network (big-endian) order.

    Args:
        address: An integer representation of an IPv4 IP address.

    Returns:
        The integer address packed as 4 bytes in network (big-endian) order.

    Raises:
        ValueError: If the integer is negative or too large to be an
          IPv4 IP address.

    """
    try:
        return _compat_to_bytes(address, 4, 'big')
    except (struct.error, OverflowError):
        raise ValueError("Address negative or too large for IPv4")
def v4_int_to_packed ( address ) : try : return _compat_to_bytes ( address , 4 , 'big' ) except ( struct . error , OverflowError ) : raise ValueError ( "Address negative or too large for IPv4" )