[EMAIL PROTECTED] wrote:
> I am trying to extend Python with some C code.
Have you considered using Cython instead of C?
http://cython.org/
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 4, 4:13 pm, Ivan Illarionov <[EMAIL PROTECTED]> wrote:
> Hi! Your C code contains too many errors. I'm lazy to comment them all.
>
> 2. create 'buildme.py' file with this content:
>
Thanks for the replies.
Maybe I should have read the rest of the guide to extending Python
with C before whi
On Wed, 04 Jun 2008 05:57:20 -0700, spectrumdt wrote:
> Hello.
>
> I am trying to extend Python with some C code. I made a trivial
> "Hello World" program in C that I am trying to wrap in "boilerplate" for
> inclusion in a Python program. But I can't compile the C code. The C
> compiler cannot
[EMAIL PROTECTED] schrieb:
> Can anyone help? I am including Python.h, so why does it not find
> Py_BuildValue?
Read your error message again. It says the dynamic linker (ld) can't
find the name. You have to link against the Python library.
Christian
--
http://mail.python.org/mailman/listinfo
Hello.
I am trying to extend Python with some C code. I made a trivial
"Hello World" program in C that I am trying to wrap in "boilerplate"
for inclusion in a Python program. But I can't compile the C code. The
C compiler cannot find the required function `Py_BuildValue'.
My C code looks li