版本信息
In [3]: import netmikoIn [4]: netmikoOut[4]:In [5]: netmiko.__file__
Out[5]: 'c:\\python27\\lib\\site-packages\\netmiko\\__init__.pyc'
In [6]: netmiko.__version__
Out[6]: u'2.2.2'
simple_conn.py
```
#!/usr/bin/env python
#!/usr/bin/env python
from netmiko import Netmiko
from getpass import getpass
net_connect = Netmiko('10.0.1.7', username='admin',
password=getpass(), device_type='cisco_ios')
print(net_connect.find_prompt())
net_connect.disconnect()
```