I am trying to create a directory in my Python code but I can't use backslash \ in a string. Every time I do it gives me an unexpected token error. 
I would like my code to look something like this:
dir = os.getcwd() + "\FolderIWantToCreate"
If I use / (forward slash), it gives me an error because my directory paths use backslash. However if I type \ (backslash) anywhere in my code, even inside "", it doesn't register the backslash as a string, it says unexpected token.
How can I overcome this?
 
     
     
     
     
     
     
    