Skip to main content

Auto Programming With Python || How do You Automate a Programm Using Python || Fun with Python - Creation Code


 

Auto Programming with Python

In this post, we will create an auto program using python. In this auto program, we will send a message to your friend 

Module to Be Used:

  • pyautogui
  • random

Code:

#creation code
import random
import pyautogui as pg
import time
text = ('like this video', 'subscribe')
time.sleep(10)
#creation code
for i in range (100):
    t = random.choice(text)
    pg.write('Please ' + t)
    pg.press('enter')

Follow my socials:

Youtube:https://www.youtube.com/channel/UCU1qNFntn7dCi9uqyvrGKOg

Instagram: https://www.instagram.com/python.math/

Twitter:https://twitter.com/Pritish369

For any question or coding discussion, you can join my discord or telegram:

Discord:https://discord.gg/be7MmSuV

Telegram:https://t.me/Python_Math_Community


Comments