Time to Automate Desktop Wallpapers with Python. Inspired by the recent collaboration with NASA & SpaceX

MY FAVOURITE PROGRAMMING BOOKS
Python Programming https://amzn.to/3TxsJx6
Python Programming 2 https://amzn.to/3IVa0GL
HTML/CSS https://amzn.to/3vrKBBs
Javascript and jQuery https://amzn.to/3TWiOmc
Java https://amzn.to/49dcJWN
Programming Interviews https://amzn.to/3TCr218
Programming Interviews 2 https://amzn.to/3VA6Dwp
Programming Interviews 3 https://amzn.to/49iGSUp

⌨️ MY DESK SETUP (I ACTUALLY USE) ⌨️
Keyboard 1 https://amzn.to/43Bizjx
Keyboard 2 https://amzn.to/4cABlLO
Keyboard 3 https://amzn.to/3Vy9aHm
Mouse https://amzn.to/4cwMxJy
Monitor https://amzn.to/3TxxczD

CREATOR SETUP
Camera Canon M50 https://amzn.to/3PDphQ8
Condenser Microphone https://amzn.to/3vvmMJ2
Condenser Audio Interface https://amzn.to/3Vvf1xe
Microphone Arm https://amzn.to/49cHACH
Video Light https://amzn.to/3PEUvGz

GET IN TOUCH:
Website: https://imdad.codes
Instagram: https://www.instagram.com/imdadcodes
TikTok: https://www.tiktok.com/@imdadcodes
Medium: https://medium.com/@imdadcodes

SOURCE CODE:
https://github.com/imdadahad/automate-wallpapers-with-python

WATCH NEXT
Programming Advice and Inspiration - https://www.youtube.com/playlist?list=PL1TBkFFBtagq7Z23M-joDArj24xGh4pa3
Python Projects - https://www.youtube.com/playlist?list=PL1TBkFFBtagpgD9zy1F6AzDswMzff99Tn
Learn Python with Exercises - https://www.youtube.com/playlist?list=PL1TBkFFBtagph84hW8-i9qSx27Wm7zrr9
Learn Programming Without Writing Code - https://www.youtube.com/playlist?list=PLC75BA6296374D8D4

️ LIKE
It takes me a long time to make these videos, please give the video a thumbs up

SUBSCRIBE:
https://www.youtube.com/@imdadcodes?sub_confirmation=1

Chapters:
0:00 What we're building
0:35 Setting up the project
1:31 Populating the requirements.txt
2:00 Starting strong with if __name__ == '__main__'
2:22 Breaking down the steps for the program
3:19 Using the schedule library in Python to run every 5 seconds
5:06 Getting the list of wallpapers and selecting one using random.choice()
10:39 Using OSAScript to change the wallpaper on Mac
12:34 Using the subprocess in Python to run OSAScript
13:39 Populating the folder with wallpapers
14:13 Running the program
14:49 Things to keep in mind


ℹ️ ABOUT THIS VIDEO:
In this video, I want to celebrate the recent launch by SpaceX and NASA. I'll show you how to automate changing your desktop wallpaper with Python. We'll get our hands stuck in with Python Automation and focus on using some of the standard libraries such as subprocess, time and even schedule. This is a jam packed and fruitful Python tutorial to really help you become a 10x Python programmer. Feel free to check out my other Python automation videos where I play with the Spotify and YouTube Data APIs.

‍️ WHO AM I:
I'm Imdad, a startup founder and CTO in London, UK. I love making videos about life as a technical cofounder, teaching people to code through cool programming projects and productivity.
I even teach Python tutorials as it is a great programming language that's used by the likes of Google, Facebook, Twitter, Quora and pretty much every big tech company you can name.

#PythonProjects #PythonAutomation #pythontutorial

Disclaimer: The links above are affiliate links. If you decide to purchase any of these products through my links, I'll receive a small commission at no extra cost to you. This helps support my channel, and I only recommend products that I've personally used and believe in.