I am working in Python with data that contains IPv4 addresses. These IP addresses are under long int format - which I didn't know was a way to store them. I need to have them as string format, such as 10.10.10.10. I have no documentation on this format, I only know it can be converted.
The only decoder I found is an online website that does the correct conversion (https://cafewebmaster.com/online_tools/long2ip).
I'd like to be able to run this kind of code:
In [0]: long2ip(-9223090565996790175)
Out[0]: '10.129.62.97'
Does anyone know how to do the conversion in Python? Many thanks.