After learning basic Linux and Git-GitHub commands, let's start with the Basics of Python as this is also important for DevOps Engineers to build the logic and programs.
What is Python?
Python is an Open source, general-purpose, high-level, and object-oriented programming language. It was created by Guido van Rossum
Python consists of vast libraries and various frameworks like Django, Tensorflow, Flask, Pandas, Keras etc.
How to Install Python?
You can install Python in your system whether it is Windows, MacOS, Ubuntu, CentOS, etc. Below are the links for installation:
Ubuntu:
sudo apt install python3
Task 1: Install Python in your respective OS, and check the version.
To install Python in Ubuntu, type
sudo apt install python3
For me, python was already present, so let's check the version.
To check the Python version, type
python3 --version
Task 2: Read about different Data Types in Python.
Numeric data types: int, float, complex
String data types: str
Sequence types: list, tuple, range
Binary types: bytes, bytearray, memoryview
Mapping data type: dict
Boolean type: bool
Set data types: set, frozenset
Now, that we have installed Python in our system, we will study more on variables and data types tomorrow.
Thanks for reading!
#devops#90DaysOfDevops#TrainWithShubham
Let's connect on Linkedin - linkedin.com/in/namya-khullar-7b5758200