Re: Embedding Python in C

2007-06-06 Thread mistabean
On 6 Jun., 05:44, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > Python lists and tuples are "generic" containers: both can contain any > kind of object, and each item may be of a different type: (1, 2.0, 3+0j, > "four", u"Fünf", file("six")) is a tuple containing 6 items, all of > differe

Re: Embedding Python in C

2007-06-05 Thread mistabean
now then... where's the edit button...? oh well, double-posting. Problem solved, thanks for pointing out that I am needing a numeric array built instead of building a normal list/ tuple. For those who are curious, steps to solving: ... #include "libnumarray.h" /*from numpy*/ ... ... ... void Cal

Re: Embedding Python in C

2007-06-04 Thread mistabean
On 5 Jun., 01:32, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 04 Jun 2007 11:58:38 -0300, <[EMAIL PROTECTED]> escribió: > > > > > > > Onwards to the problem, I have been having difficulty embedding a > > python module into my C/C++ program. (just a test program before > > moving on int

Embedding Python in C

2007-06-04 Thread mistabean
Hello, first of all, I am a programming newbie, especially in python... Onwards to the problem, I have been having difficulty embedding a python module into my C/C++ program. (just a test program before moving on into the real thing). I have been making test runs using the codes from http://docs.