Automate Desktop Wallpapers with Python (Tutorial)

Publicado el: 12 diciembre 2020
en el canal de: Imdad Codes
4,165
105

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:   / imdadcodes  
TikTok:   / imdadcodes  
Medium:   / imdadcodes  

✅ SOURCE CODE:
https://github.com/imdadahad/automate...

🎬 WATCH NEXT
Programming Advice and Inspiration -    • Programming Advice & Inspiration 🧎  
Python Projects -    • Python Projects 👨‍🍳  
Learn Python with Exercises -    • Playlist  
Learn Programming Without Writing Code -    • Learn Programming Without Writing Code  

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

✅ SUBSCRIBE:
https://www.youtube.com/@imdadcodes?s...

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.


En esta página del sitio puede ver el video en línea Automate Desktop Wallpapers with Python (Tutorial) de Duración hora minuto segunda en buena calidad , que subió el usuario Imdad Codes 12 diciembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,165 veces y le gustó 105 a los espectadores. Disfruta viendo!