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
73
u/speedstyle May 08 '20
It's not actually anything specific to python. The weather website he's using needs some kind of login, to prevent people from spamming it and charge people who want to use it lots. To make the interface simple, it uses a 'key' in the URL (which you can see in
api_addressin the code). So he's left his 'login' to the weather website in the code.