title: how do you tell what a python module is named, and therefore should be imported as on windows?
body: <p>I've installed many third party libraries on my windows machine, however I want to know <strong>How do you know what name to import them as in your scripts?</strong></p>
  
  <p>The scripts are from <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="nofollow">windows python binaries</a></p>
  
  <p>For example I have installed and often use beautifulsoup.</p>
  
  <p>When I import it as "import BeautifulSoup" it is not recognised, but when someone told me to type "from bs4 import beautifulsoup" it worked.</p>
  
  <p>Therefore there are some other modules I have installed, e.g. pyQt4 which is installed to C/python27/scripts/ (when I run the installer it says it's already installed there).</p>
  
  <p>How do I know what name I should be importing PyQt4?</p>
  
  <p>And why didn't just "import BeautifulSoup" work?</p>
  
  <p>I.e. do I have to type "from Py4 import ....." Or maybe it's called py4?</p>