Alan Bawden <alan at csail.mit.edu> writes: > ram at zedat.fu-berlin.de (Stefan Ram) writes: > > for i in range( len( list )- 1, 0, -1 ): > > if list[ i ]is None: del list[ i ] > > list = [x for x in list if x is not None] Except 'list' is a bad name to use... -- Alan Bawden