PYTHONPATH on Windows XP module load problem
lists at cheimes.de
Tue May 19 11:18:17 EDT 2009
Andreas Otto wrote:
> 1. on LINUX I create a "pymsgque.so" and I can load this library
> with "import pymsgque"
> 2. in WINDOWS, I expect to create a "pymsgque.dll" and do the
> same as on unix "import pymgque"
> -> is this behaviour is supported or not ???
> 3. the hint with "*.pyd" is totally new to me and I don't know
> is this the "official" way to use dll's on windows or
> just a hack which works
The suffix of Python extension has changed over time. It used to be .dll
but starting with Python 2.5 only .pyd files are imported. A .pyd file
is an ordinary, renamed dll file.
More information about the Python-list