Clean way to get one's network IP address?

Gilles Ganault nospam at nospam.com
Wed Nov 21 16:31:35 CET 2007


On Wed, 21 Nov 2007 07:20:45 -0800 (PST), Paul McGuire
<ptmcg at austin.rr.com> wrote:
>Be aware that it is very possible to have multiple IP addresses from
>which to choose

Yup, but this is the local host, and it only has a single interface.
Should I look into os.environ() or something like that?



More information about the Python-list mailing list