If I have a list like this:
>>> data = [(1,2),(40,2),(9,80)]
how can I extract the the two lists [1,40,9] and [2,2,80] ? Of course I can iterate and extract the numbers myself ...
I have some Python code that's dependent upon passing around some lambdas, and they get copied to a few different places, but I'm finding that when I pop them out of ...
I'd like to create a multidimensional array in Python to parse it later on. I'm a switcher from PHP so I'm a little bit confused of how to create a dict ...