Hi Scott, Nice idea. Tried that but no more information about where the file was (not) found (see below). But many thanks for a useful flag. I did not see them in the documentation. What should I be lkooking for? [StopPres: Ah ha -h why did I not think of that?] Bill
# installing zipimport hook import zipimport # builtin # installed zipimport hook # C:\Python24\lib\site.pyc matches C:\Python24\lib\site.py import site # precompiled from C:\Python24\lib\site.pyc # C:\Python24\lib\os.pyc matches C:\Python24\lib\os.py import os # precompiled from C:\Python24\lib\os.pyc import nt # builtin # C:\Python24\lib\ntpath.pyc matches C:\Python24\lib\ntpath.py import ntpath # precompiled from C:\Python24\lib\ntpath.pyc # C:\Python24\lib\stat.pyc matches C:\Python24\lib\stat.py import stat # precompiled from C:\Python24\lib\stat.pyc # C:\Python24\lib\UserDict.pyc matches C:\Python24\lib\UserDict.py import UserDict # precompiled from C:\Python24\lib\UserDict.pyc # C:\Python24\lib\copy_reg.pyc matches C:\Python24\lib\copy_reg.py import copy_reg # precompiled from C:\Python24\lib\copy_reg.pyc # C:\Python24\lib\types.pyc matches C:\Python24\lib\types.py import types # precompiled from C:\Python24\lib\types.pyc # C:\Python24\lib\locale.pyc matches C:\Python24\lib\locale.py import locale # precompiled from C:\Python24\lib\locale.pyc import _locale # builtin # C:\Python24\lib\codecs.pyc matches C:\Python24\lib\codecs.py import codecs # precompiled from C:\Python24\lib\codecs.pyc import _codecs # builtin import encodings # directory C:\Python24\lib\encodings # C:\Python24\lib\encodings\__init__.pyc matches C:\Python24\lib\encodings\__ini t__.py import encodings # precompiled from C:\Python24\lib\encodings\__init__.pyc # C:\Python24\lib\encodings\aliases.pyc matches C:\Python24\lib\encodings\aliase s.py import encodings.aliases # precompiled from C:\Python24\lib\encodings\aliases.py c # C:\Python24\lib\encodings\cp1252.pyc matches C:\Python24\lib\encodings\cp1252. py import encodings.cp1252 # precompiled from C:\Python24\lib\encodings\cp1252.pyc # C:\Python24\lib\warnings.pyc matches C:\Python24\lib\warnings.py import warnings # precompiled from C:\Python24\lib\warnings.pyc # C:\Python24\lib\linecache.pyc matches C:\Python24\lib\linecache.py import linecache # precompiled from C:\Python24\lib\linecache.pyc Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sys # C:\Python24\lib\encodings\cp850.pyc matches C:\Python24\lib\encodings\cp850.py import encodings.cp850 # precompiled from C:\Python24\lib\encodings\cp850.pyc >>> import SHIP Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named SHIP >>> import SHIP_d Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named SHIP_d >>> import _SHIP Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named _SHIP >>> import _SHIP_d Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: DLL load failed: The specified module could not be found. >>> _SHIP_d Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name '_SHIP_d' is not defined >>> "Scott David Daniels" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Davy wrote: >> Thanks Jaime, >> >> I'm making gradual progress and am finding it quite satisfying. Resorted >> to tracing Python in MSVC6 to see what it was trying to IMPORT, which is >> a bit heavy but thank heavens for the sources. > You might try running python from a command window and running it "-v" as > in: > > python -v prog.py -args ... > > --Scott David Daniels > [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list