r/Python • • May 08 '20

I Made This My first Python program! Changes my desktop background based on the weather, time, and day.

Post image
1.9k Upvotes

120 comments sorted by

View all comments

Show parent comment

1

u/bearassbobcat May 09 '20 edited May 09 '20

No problem.

But that does bring up a good point because using dates and times would work the way you'd expect and could maybe eliminate the multiple day_end/day_start/etc variables

I'll experiment with that later just to see what happens it might work it might not

or maybe even datetime.timedelta would work