python 判斷輸入 的是不是合法(正確)的ip,功能如題,實現如下def checkip hostip pat re compile r 0 9 r re findall ... 隔離的數字,數字長度為1~3.
確定! 回上一頁