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)