py2exe vs. winPython

Steve Holden sholden at holdenweb.com
Tue Oct 8 17:26:42 EDT 2002


"James J. Besemer" <jb at cascade-sys.com> wrote in message
news:mailman.1034107094.27655.python-list at python.org...
>
> The rather trivial script, below, fails pitifully on a windows 98 system
> with the following message:
>
> findfonts > c:/temp/fontdata
> Traceback (most recent call last):
>     File "<string>", line 31, in ?
> pywintypes.api_error: (120, 'OpenThreadToken', 'This function is only
valid in Win32 mode.')
>
> I don't get it.  Win98 is win32 based, right?
>
Unfortunately, not completely compatibly: the codebase is rather chopped
compared with, say , Windows NT, and so certain features (such as services,
for example) simply aren't implemented in Win9x. Win32-based isn't the same
as Win32-compatible....

[...]
regards
-----------------------------------------------------------------------
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Previous .sig file retired to                    www.homeforoldsigs.com
-----------------------------------------------------------------------






More information about the Python-list mailing list