<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ip_numstr_to_quad(num):
 """ Convert an IP number as an integer given in ASCII representation to an IP address string. '192.168.0.1' '192.168.0.1' """

    packed = struct.pack('>L', int(num))
    bytes = struct.unpack('BBBB', packed)
    return ".".join(map(str, bytes))