OP 16 August, 2020 - 11:12 AM
can someone tell me whats wrong here
_location_=pyautogui.center(_start_button_)
File "C:\Users\INDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyscreeze\__init__.py", line 552, in center
return Point(coords[0] + int(coords[2] / 2), coords[1] + int(coords[3] / 2))
TypeError: 'NoneType' object is not subscriptable
_location_=pyautogui.center(_start_button_)
File "C:\Users\INDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyscreeze\__init__.py", line 552, in center
return Point(coords[0] + int(coords[2] / 2), coords[1] + int(coords[3] / 2))
TypeError: 'NoneType' object is not subscriptable