I had a python list which holds 3 integer value. 
self.buffer[0] = int array ( c++ array)
now i need to read self.buffer[0][0] to read the first element of array. But 
when i used :- print self.buffer[0][0] 

I got this error:

TypeError: 'PySwigObject' object is unsubscriptable


How to read that c++ array as a python list?

 --
Rashad



      
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to