Popular recipes by marlonamor http://code.activestate.com/recipes/users/4169863/2009-04-27T18:41:21-07:00ActiveState Code RecipesHomogeneous list (Python) 2009-04-14T12:09:19-07:00marlonamorhttp://code.activestate.com/recipes/users/4169863/http://code.activestate.com/recipes/576718-homogeneous-list/ <p style="color: grey"> Python recipe 576718 by <a href="/recipes/users/4169863/">marlonamor</a> (<a href="/recipes/tags/list/">list</a>, <a href="/recipes/tags/type/">type</a>). </p> <p>This is a little code for making a list that can have only items from a list of types</p> Flattened List (Python) 2009-04-27T18:41:21-07:00marlonamorhttp://code.activestate.com/recipes/users/4169863/http://code.activestate.com/recipes/576719-flattened-list/ <p style="color: grey"> Python recipe 576719 by <a href="/recipes/users/4169863/">marlonamor</a> (<a href="/recipes/tags/flat/">flat</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/itertools/">itertools</a>, <a href="/recipes/tags/list/">list</a>, <a href="/recipes/tags/nested/">nested</a>). Revision 2. </p> <p>This flattenizes any nested level list. I couln't find this in itertools module so I wrote it. Python 3 may be required.</p>