pyinstaller

Валентин

Новичок
Пользователь
Ноя 13, 2020
114
1
18
после компиляции, когда открываешь ЕХЕшник, он запускается и сразу закрывается. Незнаю что сделать чтобы он работал.
import pyautogui
import time

код:
Код:
import pyautogui
import time

number = int(input('Enter the number of messages: '))
text = input('Enter messages: ')
print("Go to the window and click where to enter!!!")

time.sleep(7)

for i in range(1, number):
    pyautogui.write(text)
    pyautogui.press("enter")
 

Форум IT Специалистов