I need help with this problem:
temp = "video.mp4"
way_to_file = r"C:\Users\Lukas\Desktop\auto youtube channel\" temp
the problem is I close the string and can put it together the string and temp I mean It is not working
CodePudding user response:
try instead:
temp = "video.mp4"
way_to_file = "C:\\Users\\Lukas\\Desktop\\auto youtube channel\\" temp
CodePudding user response:
You can use just
way_to_file = f"C:\\Users\\Lukas\\Desktop\\auto youtube channel\\{temp}"
or
way_to_file = rf"C:\Users\Lukas\Desktop\auto youtube channel\{temp}"
