Felipe Monteiro de Carvalho wrote:
Now, this phrase is confusing. Just porting Python4Delphi won´t
transform Lazarus into a Python frontend. Imagining what you are
trying to say here, I could come up with these options:
Let me say here that PyScripter is a very nice Python IDE made with Delphi thanks to Python4Delphi...

Anyway, porting Python4Delphi to Lazarus is practically impossible, it needs COM. So even if one wish to waste his time porting to lazarus P4D on windows, it could never work on linux or other platforms.

I just pointed out time ago that a better idea is to embed python with Free Pascal. I already made this and it works, on windows and on Linux. This opens the way to:


* Maybe you want to use Lazarus to create GUIs on object pascal, which
then will call python programs to the the logic?
It's possible, with some cautions, not all python programs allow this.

* Maybe you think that simply converting python4delphi will make you
able to open lazarus IDE and start writing python programs that make
use of LCL, which is of course very wrong
It's possible but it's lot of work.


* Maybe you want to use Lazarus IDE to write python software without
needing LCL? Adding support for more languages througth a plugin
system has being discussed in the past, not sure if it is already
possible
It's possible, and it's easy, very easy.


I wish to add this missing item that i find more interesting:

"Maybe you want to use python to control OpenOffice with Free pascal?"
It's possible, just embed FPC with the python "embedded" in OpenOffice.

During holydays I made successfully this test (on windows) and I am still investigating on the details.

Sorry but by now I don't have documentation, work is in progress, if someone is interested (and this thread shows how few people is interested in this matter) I can give further details.

bye
tiziano






_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to