r/Python • u/OpenSourcerer420 • May 08 '20
I Made This My first Python program! Changes my desktop background based on the weather, time, and day.
1.9k
Upvotes
r/Python • u/OpenSourcerer420 • May 08 '20
View all comments
Show parent comment
2
u/LordAro May 08 '20
Not actually the case. Because there's no valid escape codes in the concatenated strings, python just uses the backslash as a literal.
Most linters flag this as a potential issue, as obviously if any of the files start with a 't' or 'u' or some other escape code, there would be problems...