> 
> **Possible Duplicate:**  
> 
> [How can I turn a list into an array in python?](https://stackoverflow.com/questions/6614261/how-can-i-turn-a-list-into-an-array-in-python) 
> 
> 
> 

How can I turn a list such as:

```
data_list = [0,1,2,3,4,5,6,7,8]

```

into a list of lists such as:

```
new_list = [ [0,1,2] , [3,4,5] , [6,7,8] ]

```

ie I want to group ordered elements in a list and keep them in an ordered list. How can I do this?

Thanks