Re: Am I missing something here? ipaddress vs socket

2015-05-01 Thread Ronald van Zantvoort
Hi Chris & Alain, thanks for responding :) On Friday, 1 May 2015 12:11:20 UTC+2, Chris Angelico wrote: > On Fri, May 1, 2015 at 7:42 PM, Ronald van Zantvoort wrote: > > Hi all, > > > > Given the following code: > > > > import ipaddress > > impo

Re: Am I missing something here? ipaddress vs socket

2015-05-01 Thread Ronald van Zantvoort
On Friday, 1 May 2015 14:06:34 UTC+2, Chris Angelico wrote: > On Fri, May 1, 2015 at 8:41 PM, Ronald van Zantvoort wrote: > > mystring is already an IP address, sorry for not mentioning that. > > The point is that ternary if; I've been scouring around the internet and &

Re: Am I missing something here? ipaddress vs socket

2015-05-01 Thread Ronald van Zantvoort
On Friday, 1 May 2015 15:46:32 UTC+2, Chris Angelico wrote: > On Fri, May 1, 2015 at 11:37 PM, Ronald van Zantvoort wrote: > > But seriously, I'll go see over there, thanks :) It's just that I'm amazed > > that this isn't in there yet; it's 2 simple prop