from <http://docs.python.org/py3k/tutorial/introduction.html#lists> :
>>> # Clear the list: replace all items with an empty list >>> a[:] = [] >>> a [] I've been using >>> a = [] >>> a [] What's the difference? Thanks, Dick Moores _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor