we have little tutorial on basic file operations, that will help you start
https://python-forum.io/Thread-Basic-Files.
note that backslash
or
raw string
https://python-forum.io/Thread-Basic-Files.
note that backslash
\
is used to escape certain special characters. Use forward slash /
e.g.'C:/User/whatever/yourfile.txt'
or
raw string
r'C:\User\whatever\yourfile.txt'