Python Automation with PyAutoGUI | Full Course With Projects!

27 Comments



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:
https://pyautogui.readthedocs.io/en/latest/install.html
To install in your current project in PyCharm see 01:15 of this video: https://www.youtube.com/watch?v=qiRlouGjoR0

RELATED VIDEOS:
▶️Text Your Friend the Entire Script of Shrek – SPAM Bot – Tutorial:

▶️TikTok Liker Bot – Tutorial:

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: https://github.com/code-of-the-future/PyAutoGUI-Automation

🔗 Social Media Links 🔗
▶️YouTube: https://www.youtube.com/channel/UCJghhFcuEmSUHkfjQcz–QQ
📸 Instagram: https://www.instagram.com/codeofthefuture
📱TikTok: https://www.tiktok.com/@codeofthefuture
📘Facebook: https://www.facebook.com/codeofthefuture
🦜Twitter: https://www.twitter.com/code_ot_future
📝LinkedIn: https://www.linkedin.com/company/code-of-the-future
🌎Website – Features Articles: www.codeofthefuture.com/articles
📂GitHub: https://github.com/code-of-the-future

💸 Donations 💸
⬇️Any donations are gratefully received & all donations go straight back into this channel!⬇️
https://ko-fi.com/codeofthefuture

⭐️ Hashtags ⭐️
#Coding #Programming #Tutorials #CodeOfTheFuture #WomenWhoCode #Python

Subscribers – 6200

source

27 Comments
    • blank
      Louise
      May 13, 2022 09:17 am Reply

      Such an amazing tutorial – projects were so fun! Thank you! Just donated to your Ko-Fi for all your hard work❤️

    • blank
      5M Servers
      May 13, 2022 09:17 am Reply

      Be My Wifey!

      Love from 👻

    • blank
      Guido Frassetti Giulioni
      May 13, 2022 09:17 am Reply

      😍

    • blank
      Jared Spilky
      May 13, 2022 09:17 am Reply

      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.

    • blank
      Dav B
      May 13, 2022 09:17 am Reply

      Thanks, very helpful.

    • blank
      Info Tech
      May 13, 2022 09:17 am Reply

      Hi Miss u r so smart, cute and loving…

    • blank
      Cristhian Andres Diaz Morales
      May 13, 2022 09:17 am Reply

      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.

    • blank
      R3
      May 13, 2022 09:17 am Reply

      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

    • blank
      Ignacio Leikis
      May 13, 2022 09:17 am Reply

      Awesome tutorial!
      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?
      Thank you

    • blank
      Patrick Schmacht
      May 13, 2022 09:17 am Reply

      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?

    • blank
      tb3420
      May 13, 2022 09:17 am Reply

      Interesting. Is it possible to invoke control elements (e.g. buttons) directly, without using mouse clicks or keyboard inputs?

    • blank
      Fauzaan Gasim
      May 13, 2022 09:17 am Reply

      thanks. very easy to understand. 😀

    • blank
      Giova Q
      May 13, 2022 09:17 am Reply

      Thanks Pretty!

    • blank
      Omar Cubing
      May 13, 2022 09:17 am Reply

      subscribed 👍👍

    • blank
      Rivindu BRO
      May 13, 2022 09:17 am Reply

      actually it was very useful for mee
      waiting for more turials like this
      very good and well done

    • blank
      OoMikkioO
      May 13, 2022 09:17 am Reply

      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.

    • blank
      Henry Nuñez
      May 13, 2022 09:17 am Reply

      Excelente 😊👏👏 Thank you 👉🔔

    • blank
      Stuntlover
      May 13, 2022 09:17 am Reply

      Very nice tutorials! They are super easy to follow

    • blank
      54 – Nilesh Parab
      May 13, 2022 09:17 am Reply

      Thanks for teaching me ❤️

    • blank
      Solja Shet
      May 13, 2022 09:17 am Reply

      Underrated channel. Gave me ideas for a bot i wanted to write.

    • blank
      Ronaldo Goat
      May 13, 2022 09:17 am Reply

      Your lesson so understandable. Thanks. It was useful for me..💛💚💙

    • blank
      Capernicus
      May 13, 2022 09:17 am Reply

      Awesome tutorial for beginners. I would like to mention that using the os lib helps a lot with navigating to other pages

    • blank
      T P
      May 13, 2022 09:17 am Reply

      Why don’t you pronounce it “gooey” instead of spelling it out?

    • blank
      tumojitekato tumojitekato
      May 13, 2022 09:17 am Reply

      This is absolutely brilliant. You should make a course maybe on Udemy or somewhere else because you have a gift for teaching.

    • blank
      phy6geniux
      May 13, 2022 09:17 am Reply

      Amazing tutorials! 😀

    • blank
      Jarrod Lewis
      May 13, 2022 09:17 am Reply

      pyautogui seems to be your favorite python module.

    • blank
      Tich Ennis
      May 13, 2022 09:17 am Reply

      Well demonstrated and explained

Leave us a comment