title | datePublished | cuid | slug | cover | ogImage | tags |
---|---|---|---|---|---|---|
Day-13 Python Basics for DevOps Engineers |
Sun Jul 30 2023 23:26:25 GMT+0000 (Coordinated Universal Time) |
clkq2lppk000009l78uqwadt2 |
day-13-python-basics-for-devops-engineers |
python, devops, 2articles1week, 90daysofdevops |
Python is a popular high-level, interpreted programming language known for its simplicity, readability, and versatility. It was created by Guido van Rossum and first released in 1991. Python supports multiple programming paradigms, including object-oriented, imperative, and functional programming styles
it is easy to learn and understandable it's a very easy language.
Python has a simple syntax similar to the English language.
It is used for:
-
web development (server-side),
-
software development,
-
mathematics,
-
system scripting.
Key features of Python include:
-
Readable and Expressive Syntax: Python's syntax emphasizes readability and uses indentation to delimit code blocks, making it easy for programmers to understand and maintain the code.
-
Dynamic Typing: Python is dynamically typed, which means you don't need to specify the data type of variables explicitly. The type is inferred at runtime.
-
Interpreted Language: Python code is executed line by line by an interpreter, which allows for rapid development and easy debugging.
-
Large Standard Library: Python comes with a comprehensive standard library that provides many modules and packages for common tasks, such as working with files, networking, databases, and more.
-
Multi-paradigm: Python supports various programming styles, such as procedural, object-oriented, and functional programming.
-
Platform Independence: Python is a cross-platform language, meaning that code written in Python can be executed on different operating systems without modification.
-
Open Source: Python is an open-source language, and its community actively contributes to its development, creating a vast ecosystem of libraries and frameworks.
-
python has an extension is "py" When we want to save the file we can save the file with .py
hello.py
You can install Python in your System whether it is Windows, MacOS, ubuntu, centos etc.
sudo apt-get update
Sudo apt-get install python3
To check the Python version
python3 -- version
In Python, data types have a hierarchical relationship, where some types are considered more general or inclusive, while others are more specific or specialized. The hierarchy of Python data types can be illustrated as follows:
![Python Data Types – PYnative](https://pynative.com/wp-content/uploads/2021/02/python-data-types.jpg align="left")
There is a different types of data types in Python
Numeric:
-
integer
-
float
-
complex number
Dictionary, Boolean, Set
Sequence type
-
String
-
list
-
tuple
Congratulations! You've completed Day 13 of the #90DaysOfDevOps challenge. In this blog post, we covered Python we learned what is python how to install Python on your pc what is the use Python and what data types in Python stay tune to new this type of blog to enhance your development journey. 🚀💻.
So I encourage you to try this on your own and let me know in the comment section about your learning experience
Thank you for reading!
Thank You! Stay Connected ☁️👩💻🌈
Contact me at :
linkedin: linkedin.com/in/akash-singh-48689a176
E-mail: [email protected]