Untitled

mail@pastecode.io avatar
unknown
plain_text
24 days ago
522 B
3
Indexable
Never
# Desafio
import pyperclip
from time import sleep
def copiar():
    pyperclip.copy(email)
    pyautogui.hotkey('ctrl','v')
    sleep(0.5)
    pyautogui.press('enter')
    pyperclip.copy(senha)
    pyautogui.hotkey('ctrl','v')

email = pyautogui.prompt(text='Digite seu e-mail', title='Login')
senha = pyautogui.password(text='Digite sua Senha', title='Senha', mask='*')
pyautogui.press('super')
sleep(0.5)
pyautogui.typewrite('bloco de notas')
sleep(0.5)
pyautogui.press('enter')
sleep(3)
copiar()


Leave a Comment