import sys from libnvme import nvme root = nvme.root() host = nvme.host(root) for s in host.subsystems(): for c in s.controllers(): print(f'{c}') but when running ...