Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? IPアドレスをいじくりまわしたり、IPアドレスの比較・判定、CIDR作成・結合や分解、 レンジ範囲操作でなどネットワークエンジニアは活用する機会が多いnetaddrの自分用に使い方メモまとめ。 メモなんで今後随時追加していきます。 1. netaddrインストール pipコマンドでインストール pip install netaddr 2.netaddr読み込み from netaddr import * 3 netaddr基本操作 IPアドレスの種類出力 ip = IPAddress('192.0.2.1') print(ip.vers