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())