Possible duplicate:
How to convert a list to an array in python?
How to include a list, for example:
data_list = [0,1,2,3,4,5,6,7,8]
to a list of lists, for example:
new_list = [ [0,1,2] , [3,4,5] , [6,7,8] ]
those. I want to group ordered items in a list and store them in an ordered list. How can i do this?
thank
source
share