What's a good way to get my IP from Python?

David N. Welton dwelton at linuxcare.com
Wed Aug 11 14:50:17 EDT 1999


Charles G Waldman <cgw at fnal.gov> writes:

> How about this?  I don't know if it's "really good" but it works,
> and it shows you how to do IOCTL's from Python.  (Lately, folks on
> the list have been suggesting writing a new extension module
> whenever you need to do such a thing, but this is IMO unattractive
> from the point of view of easy redistribution of code).

I actually wrote a basic ifconfig module, although it's probably not
as thorough as it could be...

Personally, I find C more fun/easier to work with at this level.

Hopefully, I will be able to release my work soon, and then people can
vote with their feet.  I have what I need, so I will make sure it
keeps working and doing what I want.

Ciao,
-- 
David N. Welton, Web Engineer, Linuxcare, Inc.
415.354.4878 x241 tel, 415.701.7457 fax
dwelton at linuxcare.com, http://www.linuxcare.com/
Linuxcare. At the center of Linux.




More information about the Python-list mailing list