Ever since I started my journey with machine learning, I always wanted to automate things around me. This is not my first try to automate things. I have tried to automate sending birthday wishes to my friends on their birthdays (under development) since I am not that good at remembering numbers.
First, you need to download the pyautogui library. This is the library that is going to help us automate the tasks in your browser.
pip install pyautogui
Write The Main Code
#import all modules that needed import pyautogui as pg import time #How many message you want to send: print(\"How many message you want to send: \") number_of_message=int(input()) #what should be the message? print(\"Write down your message: \") your_text=input() #sleep time in second time.sleep(5) for i in range(number_of_message): pg.write(your_text) pg.press(\"enter\")