import pythoncom

Olaf Meding OlafMeding at compuserve.com
Wed Jun 23 11:58:45 EDT 2004


How does Python (version 23 on Windows) know what to import?  I could
not find a file or directory named "pythoncom".

  import pythoncom
  help(pythoncom)
    FILE
      c:\windows\system32\pythoncom23.dll

Obviously Python knows to which DLL to load, but the DLL has a
different name (pythoncom versus pythoncom32.dll).  So how does this
work?

Thanks for you help.

Olaf



More information about the Python-list mailing list