#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Location
    Bremen - Germany
    Posts
    18
    Rep Power
    0

    c api: assigning many c vals to a python list (sequence)


    Hello Together !

    I'm working at the following problem:

    To earn some speed, I coded a c-module for calculating
    some floats. I call this c-method(s) from a python-programm
    (giving the parameters from python) and it works great.

    My problem is to write the results, which are quite a few (stored)
    in a float-pointer, back to python. I want to store the
    C-claculated values in a python list.
    Does someone Know how to do this ? :confused:

    thanks in advance

    EDIT: will move with more specific question and source to c-subforum
    sorry !
    Last edited by marc001; January 13th, 2005 at 04:23 PM. Reason: wrong subject for this subforum

IMN logo majestic logo threadwatch logo seochat tools logo