print(os.listdir("C:\Users\ SyntaxError: (unicode error) 'unicodeescape' code example
Example: unicodeescape python path error
r'C:\Users\expoperialed\Desktop\Python'
'C:\\Users\\expoperialed\\Desktop\\Python'
'C:/Users/expoperialed/Desktop/Python'
#change \ to double back slashes or use forward slashes