append special chars with "\"

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Tue Sep 30 10:23:26 EDT 2003


On Tue, 30 Sep 2003 07:58:27 GMT, rumours say that Alex Martelli
<aleax at aleax.it> might have written:

>charmap = {}
>for c in chr: charmap[c] = c+'\\'

I believe you meant charmap[c] = '\\' + c ...
-- 
TZOTZIOY, I speak England very best,
Ils sont fous ces Redmontains! --Harddix




More information about the Python-list mailing list