simple string question

jwither jwither at sxder4kmju.com
Mon Sep 7 01:29:23 EDT 2009


Given a string (read from a file) which contains raw escape sequences, 
(specifically, slash n), what is the best way to convert that to a parsed 
string, where the escape sequence has been replaced (specifically, by a 
NEWLINE token)?

James Withers 





More information about the Python-list mailing list