On 11/23/06, Uwe Grauer <[EMAIL PROTECTED]> wrote:
Adrian Maier wrote:
> Hello,
>
> I am trying to run a python program from a Lazarus application. Executing
> it with TProcess is working fine,  but it is slow from the user's
> perspective : it takes a few seconds until the program shows up.
>
> The python script works with no problems when it is run on its own.
>
> The lazarus application is compiled with gtk1. The python application is
> also using wx  (which uses gtk on linux).
>
> So,  my question is  :  is it possible to have problems because the
> gtk library is used at the same time from  pascal and  python ?
> Other ideas?
>
> Best wishes,
> Adrian Maier
>

You should look at P4D (Python for Delphi).
AFAIK it also works with lazarus.
http://mmm-experts.com/

Thanks for the tip,

but I've dropped the idea of linking python with the pascal application.   I'll
call an external python program and communicate with it with pipes probably.

I knew that Python for Delphi exists , but looking at the site i haven't seen
any reference to freepascal.   Does it work with freepascal in a cross-platform
way ?


Cheers,
Adrian Maier

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

Reply via email to