Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pygame #169

Open
lucif67 opened this issue Aug 29, 2022 · 1 comment
Open

Pygame #169

lucif67 opened this issue Aug 29, 2022 · 1 comment

Comments

@lucif67
Copy link

lucif67 commented Aug 29, 2022

No description provided.

@lucif67
Copy link
Author

lucif67 commented Aug 29, 2022

#non working codeeeeeeeeee190743190743

import pyautogui, time, datetime

time.sleep(2)

while True:

# to display the time at which the message is sent  

print(datetime.datetime.now()) 

pyautogui.typewrite("Reminder: Drink water!")  

pyautogui.press("enter") 

time.sleep(31) 



print(datetime.datetime.now()) 



pyautogui.typewrite("Reminder: Take medicine!") 

pyautogui.press("enter") 

time.sleep(31) 



print(datetime.datetime.now()) 



pyautogui.typewrite("Reminder: Take the dog for a walk!") 

pyautogui.press("enter") 

time.sleep(31) 



print(datetime.datetime.now()) 



pyautogui.typewrite("Reminder: Drink water!") 

pyautogui.press("enter") 

time.sleep(31) 



print(datetime.datetime.now()) 



pyautogui.typewrite("Reminder: Drink water!") 

pyautogui.press("enter") 

time.sleep(31) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant