Переименовал, не работает! По этому и написал сюда!
Traceback (most recent call last):
File "C:\Users\Никита\Desktop\hotkey.py", line 1, in
import pyautogui
File "C:\Users\Никита\Desktop\pyautogui.py", line 3, in
pyautogui.hotkey('ctrl', 'v')
AttributeError: partially initialized module 'pyautogui' has no attribute 'hotkey' (most likely due to a circular import)
[Finished in 0.4s]
Traceback (most recent call last):
File "C:\Users\Никита\Desktop\hotkey.py", line 1, in
import pyautogui
File "C:\Users\Никита\Desktop\pyautogui.py", line 3, in
pyautogui.hotkey('ctrl', 'v')
AttributeError: partially initialized module 'pyautogui' has no attribute 'hotkey' (most likely due to a circular import)
[Finished in 0.4s]