"""Here's a backslash: \\"""
print("Here's a backslash: \\")
"""Here's a backslash: \\. Here's a double quote: "."""
print('Here\'s a backslash: \\. Here\'s a double quote: ".')
Добавление обратной косой черты без экранирования [Python]