Show current ip on Linux

David Van Mosselbeen david.van.mosselbeen at
Mon Jun 13 11:19:00 EDT 2005

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

Verry thanks to all vulunteers.

David Van Mosselbeen - DVM
Fedora Core 3 User

More information about the Python-list mailing list