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:
To install in your current project in PyCharm see 01:15 of this video: https://www.youtube.com/watch?v=qiRlouGjoR0
▶️Text Your Friend the Entire Script of Shrek – SPAM Bot – Tutorial:
▶️TikTok Liker Bot – Tutorial:
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
🔗 Social Media Links 🔗
📸 Instagram: https://www.instagram.com/codeofthefuture
🌎Website – Features Articles: www.codeofthefuture.com/articles
💸 Donations 💸
⬇️Any donations are gratefully received & all donations go straight back into this channel!⬇️
⭐️ Hashtags ⭐️
#Coding #Programming #Tutorials #CodeOfTheFuture #WomenWhoCode #Python
Subscribers – 6200
Such an amazing tutorial – projects were so fun! Thank you! Just donated to your Ko-Fi for all your hard work❤️
Be My Wifey!
Love from 👻
Nice video! Something to add as it relates to finding your mouse coordinate position. A convenient way to find this information is to use the “pyautogui.mouseInfo()” function. Call this function into your interactive shell after importing pyautogui. It’s a small application that will provide real time coordinates and RGB color information based upon where your mouse is located. It also allows you to copy this information into clipboard so you can easily extract the information, or save it to a log file. Pretty convenient.
Thanks, very helpful.
Hi Miss u r so smart, cute and loving…
hello Ellie receives a cordial greeting. I would like to start by clarifying that I used a translator to write this, so if there is any mistake, I hope you will forgive me. I am very interested in what is related to python and the automation of RPA processes, but I see that it is a very wide world and I do not know where to start. I have seen frameworks like rocketbot uipath among others. i want to learn and i want to know if pyatugui is a good start.
I have a problem
AttributeError: partially initialized module 'pyautogui' has no attribute 'size' (most likely due to a circular import)
What can i do for that
Is it also possible to write a line of code which tells Python to click on a random pixel in a given "area" or "range", over a randomized period of time?
You did a great job presenting the module. This is exactly what I was looking for. Best regards from Germany.
I still have one question: How did you comment out several lines at the same time?
Interesting. Is it possible to invoke control elements (e.g. buttons) directly, without using mouse clicks or keyboard inputs?
thanks. very easy to understand. 😀
actually it was very useful for mee
waiting for more turials like this
very good and well done
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.
Excelente 😊👏👏 Thank you 👉🔔
Very nice tutorials! They are super easy to follow
Thanks for teaching me ❤️
Underrated channel. Gave me ideas for a bot i wanted to write.
Your lesson so understandable. Thanks. It was useful for me..💛💚💙
Awesome tutorial for beginners. I would like to mention that using the os lib helps a lot with navigating to other pages
Why don’t you pronounce it “gooey” instead of spelling it out?
This is absolutely brilliant. You should make a course maybe on Udemy or somewhere else because you have a gift for teaching.
Amazing tutorials! 😀
pyautogui seems to be your favorite python module.
Well demonstrated and explained