finding IP address of computer

Grant Edwards grante at visi.com
Thu Apr 27 15:03:57 EDT 2006


On 2006-04-27, Gregor Horvath <g.horvath at gmx.at> wrote:
> Chris schrieb:
>> How do I find and print to screen the IP address of the computer my
>> python program is working on?
>> 
>
> IP adresses are bound to network interfaces not to computers.
> One Computer can have multiple network interfaces.

And each interface can have any number if IP addresses
(including none).

-- 
Grant Edwards                   grante             Yow!  I feel like a wet
                                  at               parking meter on Darvon!
                               visi.com            



More information about the Python-list mailing list