Skip to content

[THIS IS SPAM] a cool and simple python program! #4223

@nikan02526

Description

@nikan02526

for writing this program,we need pyautogui library.

INSTALLATION:

for install pyautogui write:

pip install pyautogui

IMPORTING:

next,for importing pyautogui write:

import pyautogui

now you have pyautogui in your program!

ORGINAL CODE:

for writing this program,we need to know pyautogui codes.
for example: sleep and write

let`s writing this program!

pyautogui.sleep(5) #waiting 5 seconds.
for i in range(0,10) #make a loop that rotates 10 times.
pyautogui.sleep(0.3 #waiting 0.3 second.
pyautogui.write('Hello...',interval=0.25) #writing Hello... with 0.25 interval.
pyautogui.press('enter') #pressing enter button.

GOOD JOB!
you was writing a program that writing Hello...10 times!
you can as soon as playing this code go to your notepad app until your program write Hello... in your notepad.

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