Python 101
Python is – as I have said before – a simple language to pick up. It is meant to be readable by the layperson and the logic of its code is meant to be easily understandable. It is because of this fact that everything from installing Python to configuring it in your OS is probably the smoothest installation process out of any of the major programming languages. The barrier of entry is next to zero.
So, if you want to declare a variable and other basic stuff, start from the following figure and figure it out:
Figure 2.1 – Declaring and manipulating variables
This section will be focused on the philosophy of Python because that is what will be important in your journey toward using Python in DevOps. Once you understand the underlying philosophies, you will understand why Python and DevOps are such a perfect match.
In fact, we can find that similarity in the Zen of Python. The Zen is a series of principles that have come...