Created
March 11, 2019 08:22
-
-
Save marzdgzmn/d412014e0236746a89fef0db58ab548d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev = Device(sw, user=args.usr, password=pwd, port=22) | |
try: | |
dev.open() | |
finally: | |
dev.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment