On 18 June 2013 19:41, Steven D'Aprano <st...@pearwood.info> wrote: > On Tue, Jun 18, 2013 at 06:41:01PM -0700, Jim Mooney wrote: >> Is there a way to unstring something? That is str(object) will give me >> a string, but what if I want the original object back, for some >> purpose, without a lot of foofaraw? > > The short answer is, "no".
It just occurred to me that a sort key can sort by changing the input to return a string, but the actual list member is not changed to a string, so maybe there's a fudge there. -- Jim Scorn that fancy food - put bread in your head! _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor