String handling bug in Python
David Bolen
db3l at fitlinxx.com
Fri Apr 26 22:39:07 EDT 2002
Cliff Wells <logiplexsoftware at earthlink.net> writes:
> It seems if you imposed the limitation that the z-string not contain
> the quote character used to delimit the string then you could simply
> use concatenation to get around that limitation:
>
> z"'" z'"' z'\'
Of course, the same string concatenation can also get around the final
backslash raw string problem:
r'some\file\path' '\\'
--
-- David
--
/-----------------------------------------------------------------------\
\ David Bolen \ E-mail: db3l at fitlinxx.com /
| FitLinxx, Inc. \ Phone: (203) 708-5192 |
/ 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \
\-----------------------------------------------------------------------/
More information about the Python-list
mailing list