by admin | Jan 9, 2021 | DevOps, Programming
Python For Network Engineer 3 Search for: Python For Network Engineers 3 (1) Backup switch configurations Ubuntu-1 Create and modify “getconfigs.py” script (Figure 1) Add comments Use “strip()” to removes any leading (spaces at the beginning)...
by admin | Jan 2, 2021 | DevOps, Programming
Python For Network Engineer 2 Search for: Python For Network Engineers 2 (1) Create switch VLANs using loops Ubuntu-1 Create VLAN using loop function (Figure 1) Use “for” to create loop Notice that there is an error when we try to run the script,...
by admin | Jan 1, 2021 | DevOps, Programming
Python For Network Engineers 1 Search for: Python For Network Engineers 1 (1) Network programmability made easy Router-1 Basic configuration config terminal hostname R1 Configure IP interface interface gig0/0 ip address 192.168.122.71 255.255.255.0 no shut Enable...
by admin | Dec 26, 2020 | DevOps, Programming
Python Programming Overview 4 Search for: Python Programming Overview 4 (1) Running The Interpreter The Python Interpreter Python ships with an interactive interpreter This tool will be your best friend as you learn the language Provides instant feedback and...
by admin | Dec 26, 2020 | DevOps, Programming
Python Programming Overview 3 Search for: Python Programming Overview 3 (1) Source File Encoding UTF-8 Stands for 8-bit Unicode Transitional Format Capable of encoding all possible characters in Unicode The dominant character encoding for the Web (81.4% of all web...
by admin | Dec 25, 2020 | DevOps, Programming
Python Programming Overview 2 Search for: Python Programming Overview 2 (1) Indentation Python & Whitespace Whitespace is significant in Python (sorf of) Text editor: vim, notepad++ Makes for significantly more readable code Whitespace is only “significant” at the...
Recent Comments