[Tutor] unstring

Zachary Ware zachary.ware+pytut at gmail.com
Wed Jun 19 04:06:38 CEST 2013


Jim Mooney <cybervigilante at gmail.com> 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?

Only by keeping the original reference to the object. str(object) produces a new object that has absolutely no relation to the original.




More information about the Tutor mailing list