Monthly Archive: August 2020


how to use pip : pip install “package” pip install –upgrade “package” pip install “package”==”version” pip list pip uninstall “package”

Complex Data Structure

When dealing with very large output data structure , and need to extract data from it : Example : Devices = { ‘sw1’: { ‘ip_addr’: ‘’, ‘username’: ‘admin’, ‘password’: ‘cisco’, ‘bgp_peer’: ‘’, ‘’, ‘’}, ‘sw2’: { ‘ip_addr’: ‘’, ‘username’: ‘admin’,…
Read more

YAML Basics

Example of a YAML file : List : — – – – Dictionary : — Key:value device1: device2: this is a string device3: “this can nclude special characters” device4: True or true or yes or no…
Read more