Python day 1, python get the first day of this week
Hello everyone, I can finally use the weekend time to study with everyone. This learning atmosphere reminds me of the time when I went to college.
First, I want to explain why I chose Python.
Currently, I work on Linux system O & M and business technical support. Automated O & M is particularly popular in the past one or two years. I am also very familiar with shell, so I still want to learn a language to help my work. Automated O & M is also a trend. I also believe that the O & M path of system technologies will be narrower and narrower in the future. Python is also called "glue language ".
Advantages of Python
Python Installation
Variable
A variable is an object reference. A variable only points a pointer to the memory address of the object. The type and value of the variable are initialized at the moment of value assignment.
Variable name:
1. It consists of letters, numbers, and underscores.
2. Numbers cannot start
3. Keywords cannot be declared as variables
Input and Output
Print ("hello, world !!! ")
Input ("input your name :")
Process Control
If ...... Eles
If ...... Elif ...... Elif ...... Else
If ...... Nesting
Data Type