I need to open a file in a folder and this should work but the \ causes the string to close so the Me variable is green when it should not me. How can I fix it, I need to be able to stop \ from closing the string or direct into a folder without using the \ symbol. Most the variable I used seem random, this is because I do not want it to be similar to real functions to get it mixed up confusing me or others.
Me = Jacob #Variable me with Jacob in it
def God():#creates function called god
File = open ("Test\" + Me + ".txt","r")#opens the Jacob file in the test folder.
Door = ""#creates door variable
Door = File.read().splitlines()#sets what is in Jacob file to be in Door variable
print (Door)#prints the varible door
God()#does go function