What's the best way to validate a string contains a IP address
Sent from my iPad
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
rust_ip_address = raw_input('\nEnter the untrust IP ''"Example
172.20.2.3/28"'':')
> On Apr 1, 2017, at 12:29 PM, Alex Kleider wrote:
>
> On 2017-03-31 18:01, Mats Wichmann wrote:
>> On 03/31/2017 06:44 PM, Alex Kleider wrote:
>>> On
Thank you very much
Sent from my iPhone
> On Apr 3, 2017, at 7:04 PM, Martin A. Brown wrote:
>
>
> Hello there,
>
>> what am I going wrong here? i need to validate this is an IP or ask
>> the question again
>>
>> untrust_ip_address = raw_input('\nEnter the untrust IP ''"Example
>> 172.20