asweigart / pyscreeze

PyScreeze is a simple, cross-platform screenshot module for Python 2 and 3.
BSD 3-Clause "New" or "Revised" License
194 stars 96 forks source link

Wrong "click" example from README? #91

Closed gil9red closed 1 year ago

gil9red commented 1 year ago

https://github.com/asweigart/pyscreeze/blob/d6a9f33049f971e9c0e7c48a65398777664c6894/README.md#L54 and https://github.com/asweigart/pyscreeze/blob/0446e87235e0079f591f0c49ece7d487dedc2f9a/README.rst#L53

pyscreeze.click(button7x, button7y)

https://github.com/asweigart/pyscreeze/blob/0ed887dd40bb51bfc2613951166a69cbc26b20b3/docs/screenshot.rst#L54:

pyautogui.click(x, y)

I got an error while running the code:

AttributeError: module 'pyscreeze' has no attribute 'click'
asweigart commented 1 year ago

Fixed in 1.0.0