There are two acceptable ways to define a path to a directory/folder, with and without the end separator
path_wo_sep = r"c:\temp" path_w_sep = r"c:\temp\\" print(path_wo_sep) print(path_w_sep)
Output:c:\temp
c:\temp\\
How can one get a following output? 
Output:c:\Temp\
Related: Am I able to print odd number of backslashes using a raw string?print(r"\\")
Output:\\
print(r"\\\\")
Output:\\\\
Is this a matter of any postprocessing?