Created
October 21, 2014 07:43
-
-
Save mvaz/8fcf477f1f80c27a0d87 to your computer and use it in GitHub Desktop.
My Python Cookbook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| socket.gethostbyname(socket.gethostname()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment