Getting local IP address...

jhe at webde-ag.de.bbs jhe at webde-ag.de.bbs
Tue Jul 18 04:20:06 EDT 2000


"Tony Johnson" <gjohnson at gs.verio.net> schrieb im Newsbeitrag
news:01BFEFF9.AE1E26D0.gjohnson at gs.verio.net...
> Yes I understand that os.system is to be used with extreme caution.  The
> ifconfig eth0 command does nothing but query information already stored
and
...
> I don't see any probs...

> ifconfig
bash: ifconfig: command not found

Falls into my definition of "probs". :>  On many machines, /sbin is not in
the path of normal users, and on many machines, it's not called "/sbin". :)

Bye, Jürgen



More information about the Python-list mailing list