import problem
Vince Buonassisi
vjb at vuit.com
Tue Apr 29 11:47:47 EDT 2003
hi,
i am having problems importing a module in my python script. i have
the following two import statements in the script:
from WVWService.util import XMLUtil
from WVWService.test import HTTPClient
the first import works just fine. but, the second one i get the error
"ImportError: No module named test". i have checked for mispellings;
i have checked to see if the directory test exists; i have checked the
system path by printing out sys.path from w/i the script to see if the
directory path is in sys.path (/home/vjb/workspace/wvwBase3/src/wvw).
i don't understand why the first import works and the second one does
not since the directories util and test reside in the same directory
path.
i am using python 2.2.2 on redhat 8.0.
any help would be appreciated.
thanks,
vince
More information about the Python-list
mailing list