Ray Jones wrote: > source = source.remove('')
list.remove() modifies the list in-place and therefore by convention returns None: >>> source = ["one", "", "three"] >>> source.remove("") >>> source ['one', 'three'] _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor