Mirko Dziadzka wrote:
Hi all

I'm trying to find a way to output strings in the raw-string format, e.g.

print_as_raw_string(r"\.") should output r"\." instead of "\\."

Is there a better way than writing your own print function? Some magic
encoding?

Thats nonsense. print r"\." or in python3.0 print(r"\.")
will just print:
\.

Regards
Tino

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to