McMillan's Installer problem with win32com

Robin Becker robin at jessikat.fsnet.co.uk
Wed Aug 2 03:20:46 EDT 2000


In article <eKLh5.18634$4p3.149948 at news-server.bigpond.net.au>, Mark
Hammond <MarkH at ActiveState.com> writes
>> Where should i write this code??
>
>I have no idea.  I quickly responded to your email without even making
>sure it was relevant.  I just guessed it was ;-)
>
>If the symptom you see is "import pythoncom" fails, then this code is for
>you!
>
>The intent of this code is to make "pythoncom" and "pywintypes" available
>as modules, given their funny names, and sans their registration in the
>Windows registry.  So this code should appear anywhere it will be executed
>before the first real import of pythoncom or pywintypes.
>
>Mark.
...
a packaged python app surely needs a site.py which is a good place to
put such hacks. 
-- 
Robin Becker



More information about the Python-list mailing list