[Tutor] unstring
Marc Tompkins
marc.tompkins at gmail.com
Wed Jun 19 04:06:03 CEST 2013
On Tue, Jun 18, 2013 at 6:41 PM, 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?
>
Unless you're storing them in a dictionary and the string is the key -
no... unless the original object is simpler than a string - an int, for
example.
I believe there's a general law of physics and/or informatics at work
here...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130618/7ebba5c0/attachment.html>
More information about the Tutor
mailing list