Thanks all, you all are nice man. Dennis Lee Bieber 写道:
> while len(lst): #list is a built-in function, don't use as a name > del lst[0] #delete the first item IN the lst > I found Dennis 's code is usefull that is a way to solve my problem. -- http://mail.python.org/mailman/listinfo/python-list