Re: extending python with array functions

2008-02-05 Thread Janwillem
Gabriel Genellina wrote: > En Tue, 05 Feb 2008 05:28:33 -0200, Marc 'BlackJack' Rintsch > <[EMAIL PROTECTED]> escribi�: > >> On Mon, 04 Feb 2008 20:56:02 -0200, Gabriel Genellina wrote: >> >>> - the array module http://docs.python.org/lib/module-array.html provides >>> homogeneuos arrays that may

Re: extending python with array functions

2008-02-05 Thread Gabriel Genellina
En Tue, 05 Feb 2008 05:28:33 -0200, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> escribi�: > On Mon, 04 Feb 2008 20:56:02 -0200, Gabriel Genellina wrote: > >> - the array module http://docs.python.org/lib/module-array.html provides >> homogeneuos arrays that may be more efficient for your applic

Re: extending python with array functions

2008-02-04 Thread Marc 'BlackJack' Rintsch
On Mon, 04 Feb 2008 20:56:02 -0200, Gabriel Genellina wrote: > - the array module http://docs.python.org/lib/module-array.html provides > homogeneuos arrays that may be more efficient for your application. arrays > don't have a special API, you have to import the module and use its > functio

Re: extending python with array functions

2008-02-04 Thread Gabriel Genellina
En Mon, 04 Feb 2008 18:44:42 -0200, Janwillem <[EMAIL PROTECTED]> escribió: > I want to make numerical functions that can be called from python. > I am programming in pascal the last few decades so I had a look at > "python for delphi" (P4D). The demo09 gives as example add(a,b) using > integer

extending python with array functions

2008-02-04 Thread Janwillem
I want to make numerical functions that can be called from python. I am programming in pascal the last few decades so I had a look at "python for delphi" (P4D). The demo09 gives as example add(a,b) using integers and pyarg_parsetuple. That works! However, I cannot figure out what to do when a,