10 odpowiedzi
+ 5
I don't even learn python! *Smelling glue*
Anyway I'll try to learn from your code as I can :D
+ 3
Oh I will be waiting😀
+ 2
Posting will start tommorrow, so be ready.......
+ 1
That's Supercool.
+ 1
"is" get)
+ 1
Oh I already knew that cause I have a python hacking book. lol.
+ 1
But I guess it will help others
+ 1
Vito do you know have knowledge of python standard library
+ 1
No
0
How to get the ipaddress of a host using python standard library "socket"
Code:
import socket
getHost = input("Enter name of host:")
get = socket.gethostbyaddr(getHost)
print("Ipaddress of ", getHost, " "