[Newby] Problem with compilation.

G

Guest

Hi folks!

Can't compile my file due to some problems with crypt module.
My platform is WinXP:
First I launch my Python Shell,
Than I open the *.py file,
Next I press F5 to 'run module'
The message is: "ImportError: No module named crypt"

Few lines of code for example:

....
import posix
import posixpath
from crypt import *

startRecord = 0
inRecord = 1
....

Thanks for help.
 
J

j vickroy

The Python modules documentation indicates crypt is only available on Unix
platforms.
 
M

Mike C. Fletcher

There is a work-alike cross-platform "fcrypt.py" module which can be
used to replace crypt on non-unix platforms. Google to find it.

HTH,
Mike

j said:
The Python modules documentation indicates crypt is only available on Unix
platforms.
<original problem with lib requiring crypt snipped>
....
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
 
F

Fredrik Lundh

Mike said:
There is a work-alike cross-platform "fcrypt.py" module which can be used to replace crypt on
non-unix platforms. Google to find it.

(or read earlier posts to this thread)

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top