Let’s start with Python basics, with the help of program .Theory part in posts is just enough to understand the program.
Python Data Type:
Way to remember how slices work in string is to think of the indices as pointing between characters, with the left edge of the first character numbered 0. Then the right edge of the last character of a string of n characters has index n, for example:
“Crazyouters ” represented in indices form
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
C | r | a | z | y | r | o | u | t | e | r | s |
-11 | -10 | -9 | -8 | -7 | -6 | -5 | -4 | -3 | -2 | -1 | 0 |
Program Code : Str.py
Output
There are special operators in strings
Program Code : str1.py
Output
3. List
The list is a most versatile datatype available in Python which can be written as a list of comma-separated values (items) between square brackets. Important Continue reading
Automation is need of Time.We as network engineers have to go with automation to simplify major chunk of the work done by us.We can not escape from automation.I will be having series of Python posts starting from basics.I will try to put all learning in post in most easiest way.
Let’s start with Basics.What is Python ? As per Wiki ,Python is a widely used high-level, general-purpose, interpreted, dynamic programming language.
In layman terms , it’s one of the coding language much simpler, easy to understand and most importantly reduces number of code lines in C++ to fewer lines.
It was created by Guido van Rossum during 1985-1990.
Installation:
Note:We will be doing coding in Python 3.
Windows: can be installed from Site :http://www.python.org
Linux: run below mentioned command
$ sudo apt-get install python 3.5
This is a first of a two-post series dedicated to project OVN. In this post I’ll show how to build, install and configure OVN to work with a 3-node RDO OpenStack lab.
Continue readingGeoff Huston returns to the Future of Networking series to discuss how content delivery is reshaping Internet transit, why we should rethink addressing, and more. The post Show 316: Future Of Networking – Geoff Huston Returns appeared first on Packet Pushers.
How can network operators make IoT service profitable?