Re: [Tutor] delphi, pascal and Python

2009-06-11 Thread andy
Hi People The error in this code was that the free pascal compiler command listed below included a framework command suitable only for mac compilations fpc -MDelphi -Cirot -O1 -gl -XX -k-framework -kpython -WG -vewnhi -l -Fu. -oPyMinMod.so PyMinMod.dpr The removal of this framework command caus

Re: [Tutor] delphi, pascal and Python

2009-06-03 Thread Andy Cheesman
By the way, the error was generated by following the tutorial and compiling in lazarus > After Much Looking and pointers from the author, There is this most > excellent post by the same author at > > http://wiki.lazarus.freepascal.org/Developing_Python_Modules_with_Pascal > > This nearly works b

Re: [Tutor] delphi, pascal and Python

2009-06-02 Thread Andy Cheesman
After Much Looking and pointers from the author, There is this most excellent post by the same author at http://wiki.lazarus.freepascal.org/Developing_Python_Modules_with_Pascal This nearly works but I have issue with the linking of the new module. The error is Linking PyMinMod.so /usr/bin/ld: P

Re: [Tutor] delphi, pascal and Python

2009-05-21 Thread Alan Gauld
"Marc Tompkins" 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 clo

Re: [Tutor] delphi, pascal and Python

2009-05-20 Thread Marc Tompkins
On Wed, May 20, 2009 at 11:10 AM, Alan Gauld wrote: > > "Andy Cheesman" wrote > > Is there a Method for wrapping delphi and/or pascal code into python like >> SWIG? >> I've googled to no avail, Can anyone help me? >> > > Try this: > > http://membres.lycos.fr/marat/delphi/python.htm > > Alan G >

Re: [Tutor] delphi, pascal and Python

2009-05-20 Thread Alan Gauld
"Andy Cheesman" wrote Is there a Method for wrapping delphi and/or pascal code into python like SWIG? I've googled to no avail, Can anyone help me? Try this: http://membres.lycos.fr/marat/delphi/python.htm Alan G ___ Tutor maillist - Tutor@

Re: [Tutor] delphi, pascal and Python

2009-05-20 Thread Christian Witts
Andy Cheesman wrote: Hi people Is there a Method for wrapping delphi and/or pascal code into python like SWIG? I've googled to no avail, Can anyone help me? Andy ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] delphi, pascal and Python

2009-05-20 Thread Andy Cheesman
Hi people Is there a Method for wrapping delphi and/or pascal code into python like SWIG? I've googled to no avail, Can anyone help me? Andy ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor