Python capability do like plugins ?

Alex Martelli aleaxit at
Tue Oct 19 10:58:12 CEST 2004

Leon <square690410 at> wrote:

> Thanks.....
> I use a simple method...
> sys.commands module --> get file list
> re module --> filter file name and path
> imp module --> load module
> getattr() --> get varabiles
> because none dll for unix, I don't know how to use *.pyd
> and how to make *.pyd from *.py

Not sure what you mean by "because none dll for unix".  A *.pyd on
Windows is a DLL (meant for Python extension); you cannot make it from a
*.py, you make it from a *.c or the like.  Equivalent on different Unix
variants are *.so, *.dynlib, and others yet.


More information about the Python-list mailing list