Clean way to get one's network IP address?

Gilles Ganault nospam at nospam.com
Wed Nov 21 10:31:35 EST 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