nummertolv enlightened us with:
> myString = "bar\foo\12foobar"

Are the interpretations of the escape characters on purpose?

> How do I print this string so that the output is as below?
>
> bar\foo\12foobar

Why do you want to?

> typing 'print myString' prints the following:
>
> baroo
> foobar

Which is correct.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to