length of multidimensional table

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sun Dec 17 12:54:25 EST 2006


In <op.tkprqih3y0t4kh at darkstar>, vertigo wrote:

> i have:
> x = zeros([3,4],Float)
> 
> how can i check how many rows and columns x have ?
> (what is the X and Y size of that table) ?

Try `x.getshape()`.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list