Python 2 to 3 Conversion

Chris Angelico rosuav at gmail.com
Mon Feb 19 18:55:28 EST 2018


On Tue, Feb 20, 2018 at 10:09 AM, Wildman via Python-list
<python-list at python.org> wrote:
> Yes, you are correct.  Third-party pip packages are always
> a no-no.
>
> Speaking of which, there is a library called Netifaces that
> will easily do exactly what I want with a few lines of code.
> But, it is not to be found in any Linux distro's repository
> that I can find.  Oh well...
>

$ apt-cache search netifaces
python-netifaces - portable network interface information - Python 2.x
python-netifaces-dbg - portable network interface information - Python
2.x debug extension
python3-netifaces - portable network interface information - Python 3.x
python3-netifaces-dbg - portable network interface information -
Python 3.x debug extension
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch

The given homepage URL is
http://alastairs-place.net/projects/netifaces/ - is that the right
one?

ChrisA



More information about the Python-list mailing list