Skip to content

Instantly share code, notes, and snippets.

View LPiotr's full-sized avatar
🎯
Focusing

Piotr Lebelt LPiotr

🎯
Focusing
  • 06:51 (UTC +02:00)
View GitHub Profile
@LPiotr
LPiotr / test.py
Last active November 29, 2017 21:49
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print(s)
server = 'www.decathlon.pl'
port = 80
server_ip = socket.gethostbyname(server)
print(server_ip)