[EMAIL PROTECTED] wrote:
> I tried something like this and it has not worked.
Oh! What did you ask of it, what did you expect and what did you get?
> if ( (item = PyDict_GetItemString( vdict , "atab1")) != NULL )
> PyArg_ParseTuple( item , "i" , &atab1 );
This code expects a dictionary
1. Why not to simplfy the problem. You can extract values from the
dictionari in python (this is fast). Put them in a list (fast). Pass
the list to the extension, handle it and return to python. etc.
2. Use Pyrex.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to pass a dictionary from my Python code to my Python
extension, extract
various values from the dictionary (from within the extension) , modify the
values for the
relevant keys and return the modified dictionary to Python.
Can someone point me to an example of what the C code