Re: Converting C++ array into Python
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Converting C++ array into Python

From: Adriaan Renting <renting@astron.nl>
Date: Wed Oct 12 2005 - 15:11:54 CEST

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@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
     
Received on Sat Oct 15 04:29:05 2005