Adrian Maier wrote: > 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 >
I once asked this by mail to mmm-experts and got this reply: ------------------------------------------------------------ Hi, The current release is already compatible with Lazarus. I didn't do it and can't affirm it works 100% perfect and I won't support it by myself. Bye, Morgan > > -----Original Message----- > > From: Uwe Grauer [mailto:[EMAIL PROTECTED] > > Sent: Sunday, July 23, 2006 10:00 AM > > To: [EMAIL PROTECTED] > > Subject: Python for Delphi > > > > I would like to know if it would be possible to use P4D > > with lazarus instead of Delphi (need to be cross platform). > > If you do not know, do you have any pointers where to look further? > > > > Many thanks, > > Uwe Grauer _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
