Show current ip on Linux

Lee Harr lee at example.com
Mon Jun 13 23:08:38 CEST 2005


On 2005-06-13, David Van Mosselbeen <david.van.mosselbeen at telenet.be> wrote:
> Hi,
> Im a newbie in Python, and also in Fedora Core 3. (Yes, Linux is fine
> man :-)
>
> My question is : How can i rwite a script that show my current ip. If i have
> more than one network card, the script must then show all used ip.
>
> It's important that this will work on a linux. i Have rwite some piece of
> code that realy work under Windows XP, but the same script wil not work on
> Linux. 
>
> Verry thanks to all vulunteers.
>

This comes up at least once a month. Google. Is. Your. Friend.

http://mail.python.org/pipermail/python-list/2005-January/258883.html




More information about the Python-list mailing list