>------------------------------------------- >Error from interpreter: (looks like it's taking issue with it being a >number it doesn't know how to deal with) > >>>> ip_checker(169.254.0.1) > File "<stdin>", line 1 > ip_checker(169.254.0.1) > ^ >SyntaxError: invalid syntax > >-------------------------------------------
You are passing the IP as an invalid number. 169.254.0.1 as an integer or float or long doesn't exist. I suppose you want to pass it as a String ip_checker("169.254.0.1") This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor