Get IP address of WIFI interface

2011-05-13 Thread Far.Runner
Hi Python Experts:
There are two network interfaces on my laptop, one is
100M Ethernet interface, the other is wifi interface, both are connected and
has an IP address. then the question is: how to get the ip address of the
wifi interface in a python script?

OS: Windows or Linux
-- 
http://mail.python.org/mailman/listinfo/python-list


Get the IP address of WIFI interface

2011-05-13 Thread Far.Runner
Hi python experts:
There are two network interfaces on my laptop: one is 100M Ethernet
interface, the other is wifi interface, both are connected and has an ip
address.
The question is: How to get the ip address of the wifi interface in a python
script without parsing the output of a shell command like "ipconfig" or
"ifconfig"?

OS: Windows or Linux

F.R
-- 
http://mail.python.org/mailman/listinfo/python-list