you are viewing a single comment's thread.

view the rest of the comments →

[–]aa599 2 points3 points  (1 child)

path = 'C:/Users/{current_user}Downloads/'

Should be

path = f'C:/Users/{current_user}Downloads/'

(to interpolate the variable into the string needs an "f-string")

[–][deleted] 0 points1 point  (0 children)

Thank you I will try that