Simple question - Numeric Python

Alex alex at somewhere.round.here
Thu Mar 9 12:09:23 EST 2000


> 1 2 3
> 4 5 6
> 7 8 9
> 
> How would you enter this?
> 
> Would it be:
> 1) array(((1,2,3),(4,5,6),(7,8,9)))  or
> 2) array(((1,4,7),(2,5,8),(3,6,9)))

Perhaps you could try them both in the python shell, and see which one
gives you what you want.

Alex.



More information about the Python-list mailing list