#!/usr/bin/python
#Prints out the ip address of the given hostname
#By James Stanley

import socket
import sys

try:
  print socket.gethostbyname(sys.argv[1])
except:
  print "Unable to find IP address of " + sys.argv[1]
