Python Lists -> C arrays?

Michael Brown mikeb at srl.css.mot.com
Fri Nov 3 16:29:13 EST 2000


Hi.

I've been looking at the python extension features and noticed that
Python has an easy way to convert integer elements in C
into a python list using the Py_BuildValue function.  Is there an easy
way to do this in reverse, say to convert Python lists
(not tuples) into C arrays (strings, int, float)?

Thanks.

Mike

--
        Michael F. Brown
        email:  mikeb at srl.css.mot.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20001103/58626d6d/attachment.html>


More information about the Python-list mailing list