Python transpose list (From Stack Excchange)

From https://stackoverflow.com/questions/23525451/how-do-i-transpose-a-list ##Transpose to new list new_list=[] old_list=(item1,item2,item3,item4) new_list=map(list, zip(*old_list)) ##List is the FUNCTION that creates the list. ##Transposed list in new_list

Comments

Popular posts from this blog

Powerpoint countdown and current time in slides VBA

Revit area plans adding new types and references (Gross and rentable)

PS1 search for existing edge/opened link before opening