Parsing strings (\n and \\)

Mark McEahern marklists at mceahern.com
Tue Jun 25 10:48:25 EDT 2002


> Is there a function for parsing c-like
> strings? I need to parse strings containing
> '\n' and '\\' '\"'.

I suppose it's obvious to anyone from a C background, but I find myself
wondering, "What do you mean by parse?"

I might be able to help if you provide a little more detail.

Cheers,

// mark

-






More information about the Python-list mailing list