It looks like you may be doing the import incorrectly. A python package is a directory with an __init__.py file in it. Most packages are installed in a place like D:\Python24\Lib\site-packages". If you look for (and can find) the desired module in the package (probably perforce, but maybe twisted) then it's - import packagename.modulename
Presently I have the Perforce package which is in the
site-packages directory. I also have the twisted package which is also in the
site-packages directory. The
results.py file is in the
Perforce package and the
protocols.py is in the
twisted package.
Also I am not even sure if the protocols module is the right on for this import since I am not the one who implemented this results.py.
Also I know that the import that I was doing was working since first I was having a problem about the Protocols.py, It was saying that it couldn't find it. But since I did change the import, python seems to be looking for
protocols.Interface which interface is not in the Protocols package.
For now, I don't even know if I am importing the proper package or maybe there is just something I am missing.