Hi,
I'm trying to run example code from https://python-evdev.readthedocs.io/en/latest/usage.html on Ubuntu19 and getting an error that module ‘evdev' has no attribute 'list_devices'.
Relevant library versions are listed in the screenshot below.
import evdev
devices = [evdev. InputDevice(path) for path in evdev.list_devices()]
for device in devices
print(device.path, device.name, device.phys)

Any suggestion on what the issue could be?