[python-win32] wmi and NT service

Mark Hammond mhammond at skippinet.com.au
Mon Nov 22 23:24:33 CET 2004


> [Steve Holden]
> | Given that there is a wmi.dll, might it not be better to
> give in and
> | rename your package to pywmi?
> |
> | pragmatical-ly y'rs  - steve
>
> Yes, I know. Every time this issue comes up I
> think "Shall I? Shan't I?". There are only two
> reasons not to, neither compelling:

This problem has only ever been seen with Windows services, but it *has*
been seen with modules other than WMI (ie, 'zlib' came up just a couple of
weeks ago).

I think pywin32 itself should avoid allowing SYSTEM32 to be on your sys.path
in this environment, and that should solve 99% of the problems.

Mark



More information about the Python-win32 mailing list