Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16951

python: change ipv6 ip address to ipv4 ip address

$
0
0

Have two docs and need to match them via ipaddress. One file contains only ipv4 ipaddress and the other file contains a mixture of ipv4 and ipv6.Is there a way to convert ipv6 to ipv4?

Took a look of ipaddress module and it could detect if it is a valid ipv4 or ipv6 but not converting.Is there a way to convert ipv6 to ipv4?


Viewing all articles
Browse latest Browse all 16951

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>