How to write string literals in python without having to escape them? December 10, 2022 by Tarik Raw string literals: >>> r'abc\dev\t' 'abc\\dev\\t'