David Mitchell wrote: > Ok, so If use your first suggestion (db = DataUtil.DataUtil() > ), I get this error: > > AttributeError: 'module' object has no attribute 'DataUtil' > > If I try importing the class directly (from DataUtil import DataUtil), > I get this error: > > ImportError: cannot import name DataUtil
add import DataUtil print DataUtil.__file__ print dir(DataUtil) and make sure that you're really importing the module you think you're importing (the first print statement prints the module file- name, the second the contents) </F> -- http://mail.python.org/mailman/listinfo/python-list