[Tutor] Reading eth0 With Python

Kalle Svensson kalle at lysator.liu.se
Sat Nov 15 16:38:07 EST 2003


[Null Pointer]
> Anyone know if it is possible to read Linux's eth0 device using
> Python?

What do you mean by reading eth0?

If you want to write an application that uses the network for
communication of some sort you might want to take a look at a high
level networking interface like the Twisted framework
(http://twistedmatrix.com/products/twisted).

Otherwise, a low level networking interface is available in the
standard library module "socket".

Peace,
  Kalle
-- 
Kalle Svensson, http://www.juckapan.org/~kalle/
Student, root and saint in the Church of Emacs.



More information about the Tutor mailing list