title: How do I get a website's IP address using Python 3.x?
body: <p>I have a string representing a domain name. How can I get the corresponding IP address using Python 3.x? Something like this:</p>
  
  <pre><code>&gt;&gt;&gt; get_ip('http://www.stackoverflow.com')
  '64.34.119.12'
  </code></pre>