Raymond Hettinger wrote:
I'm looking for an 'easy' way to have the last item in a list returned.
Try mylist.pop() or mylist[-1].
Note that list.pop also removes the last element from the list in the process.
-- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis Granted that I must die, how shall I live? -- Michael Novak -- http://mail.python.org/mailman/listinfo/python-list