IP address string extraction not working in Python3

前端 未结 0 1212
南方客
南方客 2021-02-13 23:05

When attempting to extract the IP address from an \'ifconfig\' command in Python3, I recieve the error:

File "testingCode.py", line 28, in ip = ip_string.strip

相关标签:
回答
  • 消灭零回复
提交回复
热议问题