0

when i write import win32print in my python command line (IDLE) it works fine and it is imported...
but when i write import win32print in my py file then it gives an error
says no module named win32print

why am i not able to load the module when writing the same statement in a py script...im using windows XP

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by dos_killer
0

you can try to copy the module or folder from python\lib\site-packages or
python\lib to the same directory as the py script. then it will always be imported into the file.

0

never mind...i figured out the solution...apparently i was using two different python istallations !

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.