Reoedering indexes in list of list

Toto emayssat at gmail.com
Tue Sep 28 14:55:18 EDT 2010


Hello,

I have a list of list
assume myList[x][y] is integer
I would like to create an alias to that list which I could call this
way:
alias[y][x] returns myList[x][y]

how can I do that ? (python 2.6)

(I have a feeling I should use 'property' ;)

Thanks,
--



More information about the Python-list mailing list