title: Using the crypt module in Windows?
body: <p>In IDLE and Python version 3.3.2, I try and call the python module like so:</p>
  
  <pre><code>hash2 = crypt(word, salt)
  </code></pre>
  
  <p>I import it at the top of my program like so:</p>
  
  <pre><code>from crypt import *
  </code></pre>
  
  <p>The result I get is the following:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\none\of\your\business\adams.py", line 10, in &lt;module&gt;
      from crypt import *
    File "C:\Python33\lib\crypt.py", line 3, in &lt;module&gt;
      import _crypt
  ImportError: No module named '_crypt'
  </code></pre>
  
  <p>However, when I execute the same file <code>adams.py</code> in Ubuntu, with Python 2.7.3, it executes perfectly - no errors.</p>
  
  <p>I tried the following to resolve the issue for my Windows &amp; Python 3.3.2 (though I'm sure the OS isn't the issue, the Python version or my use of syntax is the issue):</p>
  
  <ol>
  <li>Rename the directory in the <code>Python33</code> directory from <code>Lib</code> to <code>lib</code></li>
  <li>Rename the <code>crypt.py</code> in <code>lib</code> to <code>_crypt.py</code>. However, it turns out the entire <code>crypt.py</code> module depends on an external module called <code>_crypt.py</code> too.</li>
  <li>Browsed internet to download anything remotely appropriate to resemble <code>_crypt.py</code> </li>
  </ol>
  
  <p>It's not Python, right? It's me...(?) I'm using syntaxes to import and use external modules that are acceptable in 2.7.3, but not in 3.3.2. Or have I found a bug in 3.3.2?</p>