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.
# Escape
path = "C:\\users\\something\\a"
# Or with a raw string
path = r"C:\users\something"