>>>>>> ipaddress.ip_interface('192.0.2.1/24')
IPv4Interface('192.0.2.1/24')
>>> ipaddress.ip_network('2001:db8::1/96')
IPv6Interface('2001:db8::1/96')
the second statement should call the ip_interface method instead of the ip_network one.
Otherwise, this tutorial is very well written! Thanks!
Regards,
... Pierre Rouleau