摘要:
#!/usr/bin/python import socket import fcntl import struct def get_ip_address(ifname): s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) return socket.inet_ntoa(fcntl.ioctl( s.fil... 阅读全文
posted @ 2018-05-25 19:24
Rayment
阅读(3525)
评论(0)
推荐(0)