how setup a dll file as a module?

Diez B. Roggisch deets at nospam.web.de
Mon Aug 27 12:45:07 CEST 2007


smalltalk wrote:

> 
> 
> in arcgis , arcgisscripting is a dll file
> there is a script as following:
> 
> import  arcgisscripting
> gp = arcgisscripting.create()
> 
> why can the script run?
> how can we setup a dll file as a module?

There can be python-extension that are essentially C-modules. You can write
them your own, or using various wrapper technologies. See 

http://docs.python.org/ext/ext.html

for starters, and google

SIP
boost::python
SWIG
PyRex

for more information.

Diez



More information about the Python-list mailing list