In IDLE and Python version 3.3.2, I try and call the python module like so:
hash2 = crypt(word, salt)
I import it at the top of my program