From e0ebe5da3b1b3d5540e928bf03c8ae86eadecca5 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 12 Aug 2021 16:39:31 -0700 Subject: [PATCH] Add whatsmyip.py, whatsmylan.py. --- whatsmyip.py | 2 ++ whatsmylan.py | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 whatsmyip.py create mode 100644 whatsmylan.py diff --git a/whatsmyip.py b/whatsmyip.py new file mode 100644 index 0000000..80c78bc --- /dev/null +++ b/whatsmyip.py @@ -0,0 +1,2 @@ +from voussoirkit import networktools +print(networktools.get_external_ip()) diff --git a/whatsmylan.py b/whatsmylan.py new file mode 100644 index 0000000..f11ba94 --- /dev/null +++ b/whatsmylan.py @@ -0,0 +1,2 @@ +from voussoirkit import networktools +print(networktools.get_lan_ip())