Printing Hidden Character in Python

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Oct 26 04:59:32 EDT 2006


Wijaya Edward <ewijaya at i2r.a-star.edu.sg> writes:

> How can we print out the hidden character like "\n", "\r" etc in
> Python?

What result do you want that you're not getting with:

    print "\n"

-- 
 \      "Two rules to success in life: 1. Don't tell people everything |
  `\                                         you know."  -- Sassan Tat |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list