Hi Alexander,

Alexander Eisenhuth wrote:
> ... as you can find in os.py at line 1 ?
This is a raw string. Raw strings don't interpret the escape sequences.
Try this:
>>> print 'a\nb\tc'
a
b       c
>>> print r'a\nb\tc'
a\nb\tc

You needn't use the raw string for printing the backslashes. You can
escape them like this:
>>> print 'a\\nb\\tc'
a\nb\tc


> Regards Alexander
Regards,
Claudio
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to