python and LAN

Egor Bolonev ebolonev at rin.ru
Sat Jan 3 05:16:09 EST 2004


Hello, All!

I wish to write a programs for LAN, but I don't know where to begin.

For example I have to get a hostlist of my network:
...
192.168.1.35  acca
192.168.3.38  alligator
192.168.1.1  alpha
192.168.2.31  andp-duha
192.168.5.76  angel
192.168.2.49  anny
192.168.3.26  antracit
192.168.3.35  array
192.168.5.39  arsen
192.168.4.64  asperansa
192.168.2.44  assasin
192.168.5.17  asterix
192.168.4.53  baggins
192.168.2.38  bars
192.168.4.24  basilio
192.168.4.28  batchhq
192.168.5.46  bazuka
192.168.2.27  benladen
192.168.2.48  bigmag
192.168.4.39  bilya
...

How can I do it with python?

With best regards, Egor Bolonev.  E-mail: ebolonev at rin.ru



More information about the Python-list mailing list