Python capability do like plugins ?
Alex Martelli
aleaxit at yahoo.com
Tue Oct 19 04:58:12 EDT 2004
Leon <square690410 at yahoo.com.tw> 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.
Alex
More information about the Python-list
mailing list