I don't know your folders hieracy but it seems that server.py
can't find your module. If you open server.py
with the IDLE and go to >files>path browser, you should see anything like this:
--------------------------------------_OX
|/¬ |
| |-root/currentworkingdirectory |
| |-usr/lib/python |
| |-usr/lib/python3.3 |
| |-usr/lib/python/tkinter |
| |
------------------------------------------
If the module is not in any of these folders, you will have to move it to there. If the code of your module is in a subfolder of one of these, import it like this:
from subfolder.subsubfolder.polyglot import *
Then you have to set 'polyglot.
' before all functoins, classes etc when you use a funcion, class, etc in server.py
. I hope that's it, my programs work all like this.