PROGRAM TO AUTOMATE YOUR PC WITH PYTHON TO OPEN DOODLE CRICKET

import pyautogui
import time
import keyboard
import os

os.chdir("E:/Program Files (x86)/AVAST Software/Browser/Application"#(directory where you saved your browser.)

os.system("AvastBrowser.exe")# YOUR BROWSER NAME

time.sleep(2)

pyautogui.typewrite("https://doodlecricket.github.io/#/")

while True:
    if keyboard.is_pressed('q'):
        quit()
    pyautogui.press("enter")

Comments

Popular posts from this blog

CALCULATING FACTORIALS IN PYTHON LANGUAGE

Automating Piano Tiles in Python Which is Damn easy!!!!!!!!