On 2017-07-05 17:09, Sam Chats wrote: > > Thanks, but I've tried something similar. Actually, I want to convert a > string which I receive from a NNTP server to a raw string. So if I try > something like: > raw = r"%s" % string_from_server >
You may me looking for repr() <https://docs.python.org/3/library/functions.html#repr> -- Thomas -- https://mail.python.org/mailman/listinfo/python-list