On Jun 4, 6:25 pm, Gerhard Häring <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello.
>
> > I am trying to extend my Python program with some C code. [...]
> > Anyway, my question is this: When compiling my C code to include in
> > Python, using a Python script with the function
Hello.
I am trying to extend my Python program with some C code.
This thread is sort of a follow-up to another thread of mine, linked
below. I don't know what the conventions are in this newsgroup about
creating new threads vs. staying in existing ones, but I figured I'd
rather make a new o
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
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
Thanks for the reply.
I've found and installed the package containing pvm3.h. (The file is
now located under "share/pvm3/include/pvm3.h".) But Pypvm can't find
it.
Someone recommended that I install the equivalent of what is called
"build-essential" in Ubuntu. I was told that the equivalent can b
Thanks for the replies.
On May 8, 5:50 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> Ctrl+C often works with Python, but as with any language, it's possible
> to write a program which will not respond to it. You can use Ctrl+\
> instead (Ctrl+C sends SIGINT which can be masked or otherwis
Thanks for all the replies.
On May 8, 5:50 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> Ctrl+C often works with Python, but as with any language, it's possible
> to write a program which will not respond to it. You can use Ctrl+\
> instead (Ctrl+C sends SIGINT which can be masked or other
Hello.
I am running Fedora Linux and KDE, using the Konsole command line.
When coding Python, I regularly make a bug causing my program to not
terminate. But how do I kill the non-terminating Python interpreter
without killing the entire Konsole?
The default way of killing the current process on
Hello.
I am trying to install Pypvm (http://pypvm.sourceforge.net/), the
Python interface to PVM ("Parallel Virtual Machine"). Unfortunately,
installation fails. I am hoping someone can help me fix it.
I am running Fedora Core 8 Linux.
The official Pypvm documentation is very helpful (or somethi