Add whatsmyip.py, whatsmylan.py.

This commit is contained in:
voussoir 2021-08-12 16:39:31 -07:00
parent 3764e1faca
commit e0ebe5da3b
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 4 additions and 0 deletions

2
whatsmyip.py Normal file
View file

@ -0,0 +1,2 @@
from voussoirkit import networktools
print(networktools.get_external_ip())

2
whatsmylan.py Normal file
View file

@ -0,0 +1,2 @@
from voussoirkit import networktools
print(networktools.get_lan_ip())