DEV Community 👩‍💻👨‍💻

Cover image for Beginner Python Projects part 1
lary mak
lary mak

Posted on • Updated on

Beginner Python Projects part 1

In this first post on my preferred python beginner projects I first began by building a WhatsApp Spambot using python.

To get started we will need first have a code editor :
either * pycharm * VScode or * Sublime

  • Next step create a file and give a .py extension
  • Now you will have to install pyautogui: pip install pyautogui
  • After doing the basics you can now write the code below and run it
import pyautogui
import time

count = 0
pyautogui.click(10,5)
while True:
    pyautogui.FAILSAFE=True
    pyautogui.write(f"Hey you there")
    count +=1
    pyautogui.press("ENTER")
    time.sleep(1)
Enter fullscreen mode Exit fullscreen mode

Watch Video 👇👇


Github: larymak
Twitter: larymak1

Top comments (0)

🌚 Life is too short to browse without dark mode