I am trying to use ncclient for Python.
If I do this, it works:
from ncclient import manager
m = manager.connect()
If I do this, this will not work:
import ncclient
m = ncclient.manager.connect()
The error AttributeError: 'module' object has no attribute 'manager'.
I donโt understand what the difference is. Shouldn't it be the same way? Why is this not so?
source
share