17 lines
422 B
Plaintext
17 lines
422 B
Plaintext
From: bhuzyk at kodak.com (Bruce Huzyk)
|
|
Date: 12 Apr 1999 21:05:11 GMT
|
|
Subject: Converting a string to a tuple
|
|
Message-ID: <01be8530$65bb7120$52037e81@saints>
|
|
X-UID: 202
|
|
|
|
Here is a basic problem that is causing me much stress:
|
|
|
|
I have a string a = '(1, "abc\\def", 2)' that I would like to convert to a
|
|
tuple.
|
|
|
|
I have tried eval(), but it interprets the backslashes.
|
|
|
|
|
|
|
|
|