Anonymous user
Parse an IP Address: Difference between revisions
m
→{{header|Python}}
(→{{header|Python}}: added a simpler version) |
|||
Line 1,823:
=={{header|Python}}==
{{works with|Python|3.5}}
<lang python>from ipaddress import ip_address
from urllib.parse import urlparse
|