I am making a level editor, where i need to save the "Maps" they build. And they can make there own name to the "Map".
but i can't use "\" because, yeah i don't know why(I know it is something about escape sequences) and i hope there is either a way to get around it or use another method and i am a noob at this so i don't know to make that a code:
The_name = "Easy_map" #that's what they called it
path = "levels\" + the_name + ".txt" #making the path
I expect the variable path to be levels\Easy_map.txt but the output is SyntaxError: EOL while scanning string literal because i use "\"