Mohammed Rashad wrote:

> 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

The use of SWIG is being abandoned in favour of ctypes.

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

Reply via email to