itemlist = [] for j in range(len(myarray)):     item = myarray[j]     itemlist.append(item)

Read more of this post