Add whatsmyip.py, whatsmylan.py.
This commit is contained in:
parent
3764e1faca
commit
e0ebe5da3b
2 changed files with 4 additions and 0 deletions
2
whatsmyip.py
Normal file
2
whatsmyip.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
from voussoirkit import networktools
|
||||
print(networktools.get_external_ip())
|
2
whatsmylan.py
Normal file
2
whatsmylan.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
from voussoirkit import networktools
|
||||
print(networktools.get_lan_ip())
|
Loading…
Reference in a new issue