E0813
E0813

Reputation: 53

Module 'pyautogui' has no 'typewrite' member

I am trying to use PyAutoGUI to write for me, but none of the pyautogui stuff works.

Here is an example of my code:

import pyautogui, time

time.sleep(2)
pyautogui.typewrite("Test")

Here is the error message i get:

AttributeError: module 'pyautogui' has no attribute 'typewrite'

Upvotes: 1

Views: 139

Answers (1)

Tanay
Tanay

Reputation: 661

Check if folder or script's name is pyautogui if it is then change it to any other name

import pyautogui, time

time.sleep(2)
pyautogui.typewrite("Test")

Upvotes: 1

Related Questions