Converting C++ array into Python

Adriaan Renting renting at astron.nl
Wed Oct 12 15:11:54 CEST 2005


try using SWIG?
You give very little information about how you are trying to accomplish this. From your mention of C++ you seem to mean a vector, not an array, I suggest you read the documentation of SWIG, and maybe someone can help you if you give a clear example of what you are trying to accomplish, how, and why it fails.

Adriaan Renting.  
  
>>>"Deshdeep, Singh (IE10)" <Deshdeep.Singh at honeywell.com> 10/04/05 7:33 am >>> 

 I am extending C++ application with python. I am not able to convert a C++ array in Python.    
     
 If anyone has the experience of the below :-   
  1)            How to handle the C++ array in the Python code and how to input that from the script ?   
     
 Awaiting for the solution   
     
 Regards   
 DD   
     



More information about the Python-list mailing list