[Tutor] delphi, pascal and Python

Alan Gauld alan.gauld at btinternet.com
Thu May 21 09:01:41 CEST 2009


"Marc Tompkins" <marc.tompkins at gmail.com> wrote

>>  Is there a Method for wrapping delphi and/or pascal code into python 
>> like
>>> SWIG?
>> http://membres.lycos.fr/marat/delphi/python.htm
>
> That's a package to let you embed Python in Delphi; the OP wants to go 
> the
> other direction.

So it is, I didn't read the OP question closely enough.

On Windows you could create a DLL and use ctypes to access it,
but thats not the same as creating an importable module as could
be done with SWIG

Alan G. 




More information about the Tutor mailing list