title: How to fix error "AttributeError: 'module' object has no attribute 'client' in python3?
body: <p>The following is my code.</p>
  
  <pre><code>import http
  h1 = http.client.HTTPConnection('www.bing.com')
  </code></pre>
  
  <p>I think it's ok.But python give me the following error:</p>
  
  <blockquote>
    <p>AttributeError: 'module' object has no attribute 'client'.</p>
  </blockquote>
  
  <p>I wanted to know why and how to fix it.Thanks.</p>