I am trying to execute the following import command:
from twisted.web.server import NOT_DONE_YET
I am able to do it just fine in the interpreter, but when I execute it in a .py script, I get the error message:
ImportError: No module named web.server
For some reason "web.server" is being interpreted as a module, as opposed to it being interpreted as the twisted/web/ directory > server.py file > NOT_DONE_YET variable.