Re: Ip format

2008-11-20 Thread luca72
Many thanks for your help I have also find the correct socket function: ip 1578568204 ip = socket.inet_aton(ip) ip_dot = socket.inet_ntoa(ip) Thanks Luca On 20 Nov, 12:36, Tim Chase <[EMAIL PROTECTED]> wrote: > > Hello i have this ip 1578568204 > > > how socket function i can have the ip dotted

Re: Ip format

2008-11-20 Thread Tim Chase
Hello i have this ip 1578568204 how socket function i can have the ip dotted-quad string? i have try socket.inet_aton get no error but only this ^ETB FF I've got the following program I threw together for one of my junior developers: from sys import argv, exit if len(argv) <> 2: pr

Ip format

2008-11-20 Thread luca72
Hello i have this ip 1578568204 how socket function i can have the ip dotted-quad string? i have try socket.inet_aton get no error but only this ^ETB FF Thanks luca -- http://mail.python.org/mailman/listinfo/python-list