OSerror

Rasa train is show error in lookup OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ‘CBSE\nICSE\nMaharashtra\nKarnataka\nTamil Nadu\nPunjab\nGujarat\nRajasthan’

is there any other way to write \nKarnataka\nTamil Nadu\nPunjab\nGujarat\nRajasthan’ this part in text file?