Python Automation with PyAutoGUI | Full Course With Projects!
Full tutorial on Python's PyAutoGUI module with 3 awesome projects to get you started! 🔔NEW videos, tutorials and projects EVERY week so subscribe and hit the bell button so you don't miss an update!
To install PyAutoGUI:
pyautogui.readthedocs.io/en/l...
To install in your current project in PyCharm see 01:15 of this video: • How to make a TikTok b...
RELATED VIDEOS:
▶️Text Your Friend the Entire Script of Shrek - SPAM Bot - Tutorial:
• How to make a Spam Bot...
▶️TikTok Liker Bot - Tutorial:
• How to make a TikTok b...
Timestamps:
00:00 - Introduction (explaining the module and projects)
0:48 - Getting started with PyAutoGUI
01:21 - Mouse Functions
07:20 - Click Functions
09:50 - Scroll Functions
11:10 - Mouse Up & Down (with mini example)
15:30 - PROJECT 1: Automated Drawing in Paint
20:10 - FAILSAFE - Important for aborting Python files (including example)
23:17 - PROJECT 2: Automated Liking on Social Media
29:31 - Keyboard Functions
31:19 - PROJECT 3: Automating the Dino Game
33:27 - Screenshotting with PyAutoGUI
🖥Code: github.com/code-of-the-future...
🔗 Social Media Links 🔗
▶️KZread: / @codeofthefuture
📸 Instagram: / codeofthefuture
📱TikTok: / codeofthefuture
📘Facebook: / codeofthefuture
🦜Twitter: / code_ot_future
📝LinkedIn: / code-of-the-future
🌎Website - Features Articles: www.codeofthefuture.com/articles
📂GitHub: github.com/code-of-the-future
⭐️ Hashtags ⭐️
#Coding #Programming #Tutorials #CodeOfTheFuture #WomenWhoCode #Python
Subscribers - 6200
💸 Donations 💸
⬇️Any donations are gratefully received & all donations go straight back into this channel!⬇️
Patreon:
/ code_of_the_future
One time donation:
ko-fi.com/codeofthefuture
Пікірлер: 209
Such an amazing tutorial - projects were so fun! Thank you! Just donated to your Ko-Fi for all your hard work❤️
@CodeoftheFuture
2 жыл бұрын
Thank you so much, that’s so kind of you! 💛
@NachoManBoy4
2 жыл бұрын
Yes, excellent tutorial, especially for a novice like myself. Plus she's cute 🤩
@eduardofernandez2469
2 жыл бұрын
Thank you. Please make a video about how to click in another Windows please
@deadpopcorn8523
Жыл бұрын
@@CodeoftheFuture im done, it says "modulenotfohnderror" but ive downloaded pyautogui several times with pip.... its on python v3.10.7 if ur wondering
I started 24 hours ago watching videos about Python, just stopped to sleep, and now I'm here. I can't believe I didn't start programming earlier.
@robinrebiere5570
8 ай бұрын
Did you keep learning python? I'm curious to know where you at now
@DataSet
Ай бұрын
Now where are you two years later
I love how well this whole video is put together. You also have good communication skills. You speak clearly which kept me engaged throughout.
Thanks Ellie! ❤️ Note: Don't skip Ads to help her
@CodeoftheFuture
3 жыл бұрын
Thank you so much!!
I have tried following other guides and tutorials but not a single one has been able to actually explain things in such a way that is easy to understand! THANK YOU SO MUCH
@CodeoftheFuture
2 жыл бұрын
Thank you so much for your lovely comment! ☺️
You have not over complicated PyAutoGUI. You explained it in a simple way. Not many tutorials do that.
Underrated channel. Gave me ideas for a bot i wanted to write.
Your channel is seriously underrated! Great job and thanks
This was a great tutorial, thank you. Seriously, this jump started my coding career.
4:05 if you want to see the mouse position " in real time" you can create a loop , something like this will show the mouse position every half a second. import pyautogui import time import threading def refreshmouse(): threading.Timer(0.5, refreshmouse).start() print(pyautogui.position()) refreshmouse()
@Bruno-oj3zb
Жыл бұрын
or use this, will show the mouse position in the console and also the RGB values of the current mouse position , lets say the mouse its over a picture it will show you the RGB value of the color of the picture. pyautogui.displayMousePosition()
@linusgoblin
10 ай бұрын
directly in a terminal you can use: while true; do clear; xdotool getmouselocation; sleep 0.1; done
you can use ctrl+d(windows) or cmd+d(mac) to duplicate a line😊
Amazing way , I'm newbie in programming but now after watched your video I'm able to do a lot of things through Python. Thank you very Much
This is a really good tutorial. Good job. I really needed this.
What a great tutorial! Keep it up please! We need people like you teaching us plebs.
U made it simple man ur subscribers are well deserved
Even though it was a lot, its exactly what i was looking for with such great brief explanations. Thanks bruv
Awesome tutorial for beginners. I would like to mention that using the os lib helps a lot with navigating to other pages
If anybody wants to learn and understanding about coding then you are at perfect channel
This was actually incredible
A very useful lesson for all aspiring softians
I like this video with pyautogui module. Thanks for your effort Ellie 😊
@CodeoftheFuture
2 жыл бұрын
Thank you so much!!
this is probably the most intresting module i would ever learn
actually it was very useful for mee waiting for more turials like this very good and well done
What an amazing and interesting tutorial!!! Thank you very much.
The lesson was very helpful. Thanks a lot and although I don't know English well, I still understood everything. Thank you again :)
@CodeoftheFuture
2 жыл бұрын
Thank you so much!! That really means a lot☺️
Love your stuff! Big help!
Great tutorial. Expecting more from you. 😊
Very nice tutorials! They are super easy to follow
Frrrrr tNice tutorials man just straight forward !
Thank you for your guide) Keep helping people to learn interesting modules
Awesome tutorial, thanks a lot!
i love this course, big thanks : )
Thanks for the info and easy breakdown! I recently learned about this neat little trick and figured I would share it with everyone watching this video as it relates to your "print(pyautogui.position())" bit: A super-cool way to get this info real-time without having to run this line over and over and over again is to: 1) Open CMD prompt 2) Type 'python' 3) Type 'import pyautogui' 4) Type 'pyautogui.displayMousePosition()' 5) Keep CMD open to view real-time X, Y coordinates of the cursor position as well as the RGB values! 6) Type 'Ctrl-C' to quit Found this in another video and it really helped me save a lot of time finding mouse coordinates. Thank you again for the video! Keep doing awesome stuff like this. :)
@CodeoftheFuture
2 жыл бұрын
Awesome, thanks so much for the tip!
Really helpful, even for professionals
Just trying to learn python and found this library. Thanks for the breakdown, im going to be sully now and automate weird things because i can.
Your course amazing 👏🏽
This was so helpful and well explained
Thank u so much.......your accent makes it even better
thanks for your time and for this awesome beginner tutorial!
Great job! Your videos are super cool!
What a wonderful tutorial. Much respect, madam. Subscribed.
Thank you so much for such an amazing video with actual project. Funny thing is I used ur automated liking project to like ur tiktok videos and it worked perfectly and was so satisfying to see. Keep making more project videos.
I love ur courses
I fucking love you mate!! I saw a lot of videos for soft but tNice tutorials one is handsdown the best one! Love how your super calm and really take
It is very interesting to learn with you Please keep posting videos
@CodeoftheFuture
3 жыл бұрын
Definitely will do!🤩
Amazing tutorials! :D
Your lesson so understandable. Thanks. It was useful for me..💛💚💙
Awesome project mam 😎 thanks for sharing.
Thanks for teaching me ❤️
This is awesome 🤩🤩🤩
Thanks, very helpful.
Thank you ❤👍 Watched the full video
Great class. Keep up the good work. Thank You, Natasha Samuel
@CodeoftheFuture
2 жыл бұрын
Thank you so much! I really appreciate your comment😁
That's a pretty good video, as a french guy I understood all and I don't even thought that you were talking in english lol
Excelente 😊👏👏 Thank you 👉🔔
Amazing.. thank you
Awesome!
Good artical, thanks for sharing.
pyautogui seems to be your favorite python module.
muy buen video, sencillo y fácil de entender. Gracias
Great example. For interacting with web, I believe selenium is the better option.
Muchas gracias ☺, eres lo máximo! Dios te bendiga 🙌
awesome thank you soo much
thanks. very easy to understand. :D
Fantastic, very informative and valuable, thanks a lot dear
Very nice tutorial
omg this is so much useful ....great video
@CodeoftheFuture
2 жыл бұрын
Thank you so much!
Thank you 💕💟❣️
Thanks Pretty!
i just love this tutorial this is osm
Let me add my voice to the group of people who believe you should make an udemy course. I'm just jn minute 12 and my goodness this is brilliant stuff
Thank you for creating tNice tutorials playlist in soft soft, just starting out in soft production and there is so much to learn
instead of delaying the time to get the position, you could also just press ctrl s and then f5 to run
simple and easy!
Also, if you are botting, its not a bad idea to sprinkle some randomness in the wait times, move locations and move durations.
awesome tutorial
Great video
Another knowledge again
Thank you
thanks for video
thanks for sharing
@CodeoftheFuture
3 жыл бұрын
Thank you!
subscribed 👍👍
i got the solution tk u so much
that's good lesson :)
@CodeoftheFuture
2 жыл бұрын
Thank you!!
Pretty n awsum voice 👍🏼👍🏼👍🏼
I'm gonna try project 2 on your TikTok😌
Nice beginner-friendly tutorial. Any plans to touch more intermediate topics? Regarding screenshot? Is it possible to command what size and area of the screen to take a screenshot?
THIS AMAZING this video is basically teaching how to be a hacker
good job🥰🥰🥰
Great tutorial! I would pronounce GIU as "gooey"
Wow very amazing tutorial. BTW your specs is very nice. which specs do you have?
Interesting. Is it possible to invoke control elements (e.g. buttons) directly, without using mouse clicks or keyboard inputs?
Are you kidding me? Are you for real? You are a born teacher. You explained so beautifully. I dont have words to express myself. Thank you so much for this simple explanation. The only thing I am not happy with is you did not explain how to take cropped screenshots and how to locate on screen functions. I hope you do a tutorial on it soon. Love you.
Hi. I'm trying to find a guide on the syntax to create a macro. Is there a way to start monitoring if a hotkey like ctrl+F1 is pressed and then run a script?
Thank you so much for this video. Btw your gorgeous 😍
Great
I suppose you put the code in a function and bind different hotkeys to call different functions. How do you bind the hotkey? In Autohotkey, it's a build-in IfWinActive/IfWinExist function to check if you're running certain program (like running a game), is that exist in pyautogui too? and how to do that?
Dear madam,I was trying to use LocateOnScreen function in pyautogui and it worked at the begining.But now even if i loop the process to find the picture,the computer does not find it.Can you help me to fix this?
thank s for your time actually, i wrote that comment using what I've just learned
How to make a simple PYTHON code or even .batch command file to automatically zip an entire folder into a .rar file and the next folder too? Is it possible to create such code?