red light befor backslash in sublime text

when I write the directory of the file, sublime text show this annoying red light befor some backslashes, How to remove the red light

note : The code run without any errors.
enter image description here

>Solution :

Replace backslash "\" instead of forelash "/"

or

use double backslashes "\\"

In Python, backslash means escape sext character.

Leave a Reply