Python capability do like plugins ?
square690410 at yahoo.com.tw
Tue Oct 19 19:41:24 CEST 2004
Thank you very much,help me understand it ^_^
Now,I only use it (simple soluation). if other better soluation when modify
"Alex Martelli" <aleaxit at yahoo.com> ¼¶¼g©ó¶l¥ó·s»D
:1glwgve.20tqi2sdvlc0N%aleaxit at yahoo.com...
> 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.
More information about the Python-list