python-ipy
python-ipy copied to clipboard
verifying IP(input)
To whom it may concern,
when accepting input if number > 255 and no "." follows, instead of going through an error or filling empty spaces with "0". instead it accepts the input. as shown in the example below.
Is the code supposed to behave this way, something I may be omitting for how IP address works? Or is there something I may be doing wrong, down below is how I accept input from users.
for retrieving the input I just use a return statement of the user_ip variable.
Thanks in advance! looking forward to learn more about this module.