65 solution in Clear category for Flatten a List by DiZ
flat_list=f=lambda d:[d]if isinstance(d,int)else sum(map(f,d),[])
April 29, 2014