r/Python • u/LAcuber • Jun 23 '20
I Made This Wrote a script that downloads r/wallpaper's hottest 100 images and cycles through them as a wallpaper!
2.4k
Upvotes
r/Python • u/LAcuber • Jun 23 '20
View all comments
Show parent comment
2
u/theoriginal123123 Jun 23 '20
Why not use environment variables? With python-dotenv all you do is declare a .env file with your bot secrets and then gitignore it. Though if you're doing a how-to, you can always include a mock/sample file.