length of multidimensional table

Wojciech Muła wojciech_mula at poczta.null.onet.pl.invalid
Sun Dec 17 13:01:35 EST 2006


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) ?

Data member x.shape (tuple) contains
dimensions of array.



More information about the Python-list mailing list