Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Tiziano_mk
Al Boldi wrote: Tiziano_mk wrote: 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)

Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Michael Van Canneyt
On Wed, 17 Jan 2007, Tiziano_mk wrote: Al Boldi wrote: Tiziano_mk wrote: 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.

Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Florian Klaempfl
Michael Van Canneyt schrieb: On Wed, 17 Jan 2007, Tiziano_mk wrote: Al Boldi wrote: Tiziano_mk wrote: 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

AW: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Jörg Geppert
2007 13:37 An: lazarus@miraclec.com Betreff: Re: [lazarus] Lazarus for Python (L4P) Michael Van Canneyt schrieb: On Wed, 17 Jan 2007, Tiziano_mk wrote: Al Boldi wrote: Tiziano_mk wrote: I wish to add this missing item that i find more interesting: Maybe you want to use python to control

RE: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread George Birbilis
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. Mozilla XPCOM is basically COM compatible (defined same strucure for IUnknown interface

RE: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread George Birbilis
But when it comes to speed, you can't use Python. It's a script- interpreter! Just like Matlab... Matlab has compiler (into C) Python has compilers (see Microsoft's IronPython for .NET for example) Further one small remarks: - Python isn't a programming language. Your introduction about

RE: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread George Birbilis
OLE and COM are supported in FPC, but only on Windows. So in theory you can automate OOo directly on Windows. Btw, are ActiveX controls supported (more or less)? E.g. could one place an AX on a form? Is there any helper functionality about importing an AX (not necesserily the types, just the

RE: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread George Birbilis
IMHO a OOo interface should use OLE/COM on windows, and any other means (for example python) on other platforms. Although I think that if python can call openoffice, FPC should be able to do the same. I'd expect OO to use XPCOM like Moz, but not sure what they used George

Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Mattias Gaertner
On Wed, 17 Jan 2007 17:06:04 +0200 George Birbilis [EMAIL PROTECTED] wrote: But when it comes to speed, you can't use Python. It's a script- interpreter! Just like Matlab... Matlab has compiler (into C) Python has compilers (see Microsoft's IronPython for .NET for example) Further one

Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Tiziano_mk
Michael Van Canneyt wrote: On Wed, 17 Jan 2007, Tiziano_mk wrote: (note: Issuing commands to OpenOffice can be easily done with Delphi, this is explained in the OpenOffice SDK, but it uses the Uno OLE automation bridge. Since OLE and COM is not available in other platforms, FPC doesn't

Re: [lazarus] Lazarus for Python (L4P)

2007-01-16 Thread Tiziano_mk
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

Re: [lazarus] Lazarus for Python (L4P)

2007-01-16 Thread Al Boldi
Tiziano_mk wrote: 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

Re: [lazarus] Lazarus for Python (L4P)

2007-01-16 Thread Joost van der Sluis
On Tue, 2007-01-16 at 09:38 +1100, Algis Kabaila wrote: 1. **My** needs and plans. I will say here only that the needs and plans relate to the text that I am writing under the GPL. A progress version (beta?) of the text can be seen at http://www.pcug.org.au/~akabaila/StructuralAnalysis.

[lazarus] Lazarus for Python (L4P)

2007-01-15 Thread Algis Kabaila
Hello, Marco, On Monday 15 January 2007 19:28, Marco van de Voort wrote: On Mon, Jan 15, 2007 at 09:45:46AM +1100, Algis Kabaila wrote: IMHO, Python is the language of the future Python is SO 2006. What is SO? Take a lead - I just stated what L4P is - see above. Python is a mature

Re: [lazarus] Lazarus for Python (L4P)

2007-01-15 Thread Felipe Monteiro de Carvalho
Ok, ... let´s move this discussion into something more concrete (and usefull) then what is the language of the future On 1/15/07, Algis Kabaila [EMAIL PROTECTED] wrote: Well, If we You probably mean if *you*. If you want to start such a project don´t count on convincing everyone else how

Re: [lazarus] Lazarus for Python (L4P)

2007-01-15 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: Ok, ... let´s move this discussion into something more concrete (and usefull) then what is the language of the future On 1/15/07, Algis Kabaila [EMAIL PROTECTED] wrote: Well, If we You probably mean if *you*. If you want to start such a project don´t count

Re: [lazarus] Lazarus for Python (L4P)

2007-01-15 Thread Algis Kabaila
Boguslaw et al, On Tuesday 16 January 2007 08:12, Bogusław Brandys wrote: Felipe Monteiro de Carvalho wrote: Ok, ... let´s move this discussion into something more concrete (and usefull) then what is the language of the future On 1/15/07, Algis Kabaila [EMAIL PROTECTED] wrote: Well, If

Re: [lazarus] Lazarus for Python (L4P)

2007-01-15 Thread Al Boldi
Algis Kabaila wrote: 2. My personal experience and details. I will simply say here that I am a really old man - I will be 82 in a few weeks time. When did you start programming? What languages did you use? Which one is the best? How does OOP affect development (pros/cons)? Is there a better