for this project,we need pyautogui library.
INSTALLATION PYAUTOGUI:
for install pyautogui write:
pip install pyautogui
IMPORTING PYAUTOGUI:
next,for importing pyautogui write:
import pyautogui as pag
now you have pyautogui in your program!
ORGINAL CODE:
for write this program,we need to know pyautogui codes.
for example sleep or write.
OK! lets write this program
pag.sleep(5) #waiting 5 seconds.
for i in range(1,10): #make a loop.
pag.sleep(0.3) #waiting 0.3 second.
pag.write('Hello...',interval=0.25) #writing Hello... with 0.25 interval.
pag.press('enter') #pressing enter button.
GOOD JOB!
you was writing a program that 10 times writing Hello... .
you can as soon as plaing this code,go to your notepad app until your program writing Hello... in your notepad.
GOODBYE!!
for this project,we need
pyautoguilibrary.INSTALLATION PYAUTOGUI:
for install
pyautoguiwrite:IMPORTING PYAUTOGUI:
next,for importing
pyautoguiwrite:now you have pyautogui in your program!
ORGINAL CODE:
for write this program,we need to know
pyautoguicodes.for example
sleeporwrite.OK! lets write this program
GOOD JOB!
you was writing a program that 10 times writing Hello... .
you can as soon as plaing this code,go to your notepad app until your program writing Hello... in your notepad.
GOODBYE!!