Automating System Using pyautogui and time module. Advanced Python Tutorials. pyautogui tutorials...

Опубликовано: 28 Сентябрь 2024
на канале: Arshad Kareem
121
11

Hello Programmers.

#ProgrammingWithArshad

In this video we had seen how to automate our system using Pyautogui module in Python Programming Language...
For more amazing tutorials like this Visit this playlist :    • Advanced Python Tutorials  

SOURCE CODE OF ABOVE PROGRAM :

"
import pyautogui
import time
import webbrowser

webbrowser.open("www.youtube.com")
time.sleep(5)
pyautogui.click(1107,163)
pyautogui.write("programming with arshad", interval=0.05)
pyautogui.press('enter')
time.sleep(5)
pyautogui.click(1107,350)

image = pyautogui.screenshot()
image.save("c:\\Users\\Arshad\\Desktop\\MyScreenshot.png")

pyautogui.alert("Welcome")
prompt = pyautogui.prompt("Are You Okay ??")
print(prompt)
password = pyautogui.password("Enter Password : ")
print(password)

time_ = time.strftime("%H : %M %p")
print(time_)

time.sleep(3)
pyautogui.write("programming with arshad", interval=0.5)

pyautogui.displayMousePosition()

pyautogui.click(114,28)

"

Like, Comment, Share And Subscribe To Programming With Arshad

----- Channel Link -----
   / @arshadkareem7265  

----- My Website -----
https://arshad272.github.io/home.html

----- Contact Me -----
https://arshad272.github.io/contact.html

----- Instagram -----
https://www.instagram.com/invites/con...

----- WhatsApp Group -----
https://chat.whatsapp.com/BptwWNWZ0RU...

----- LinkedIn -----
  / arshad-k-788855185  

----- Twitter -----
https://twitter.com/Arshad84950201?s=08