Skip to content

[THIS IS SPAM] a cool and simple python project! #4222

@nikan02526

Description

@nikan02526

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions