Find centralized, trusted content and collaborate around the technologies you use most.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
so I have a error after running this code, I have no idea what is wrong with it. Could someone help me with that please?
You need to escape the \ in your path. You can do that with \\ or with a raw string.
path = "C:\\users\\something\\a"
# Or with a raw string
path = r"C:\users\something"
path = "C:/users/something"