Python: getting lowest integer in list of tuples
Question: My current plan is to determine which is the first entry in a number of
[Tkinter](http://wiki.python.org/moin/TkInter) listboxes highlighted using
`.curselection()` and combining all of the resulting tuples into a list,
producing this:

    
    
    tupleList = [(), (), ('24', '25', '26', '27'), (), (), (), ()]
    

I'm wondering as to how to determine the lowest integer. Using
`.min(tupleList)` returns only `()`, being the lowest entry in the list, but
I'm looking for a method that would return 24.

What's the right way to get the lowest integer in any tuple in the list?


Answer: 
    >>> from itertools import chain
    >>> nums = [(), (), ('24', '25', '26', '27'), (), (), (), ()]
    >>> min(map(int,chain.from_iterable(nums)))
    24
    

