We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8fa6d7 commit 56a263eCopy full SHA for 56a263e
FindIPAddress/FindIPAddress.py
@@ -0,0 +1,5 @@
1
+import socket
2
+hostname = socket.gethostname()
3
+IPAddr = socket.gethostbyname(hostname)
4
+print("Your Computer Name is:" + hostname)
5
+print("\nYour Computer IP Address is:" + IPAddr)
README.md
@@ -85,3 +85,9 @@ Happy scripting!
85
86
#### Requirements :
87
Python 3.5+
88
+
89
+### FindIPAddress :
90
+ Find your host name and IP address.
91
92
+#### Requirements :
93
+ Python 3.5+
0 commit comments