Created
March 1, 2014 19:20
-
-
Save cxxr/9295595 to your computer and use it in GitHub Desktop.
This file contains 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
$ python | |
Python 2.7.5 (default, Sep 12 2013, 21:33:34) | |
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import socket | |
>>> socket.getfqdn() | |
'Seans-MacBook-Pro.local' | |
>>> socket.getfqdn() | |
'187.1.168.192.in-addr.arpa' | |
>>> socket.getfqdn() | |
'187.1.168.192.in-addr.arpa' | |
>>> socket.getfqdn() | |
'187.1.168.192.in-addr.arpa' | |
>>> socket.getfqdn() | |
'187.1.168.192.in-addr.arpa' | |
>>> ^D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment