The first day of Python learning
Write this blog to motivate yourself and share your experiences and issues with others.
First, class notes
1.Python 3.0 and Python 2.0 incompatible Python 2.6 and Python 2.7 are excessive versions of Python
2. The installation of Python and the operation of HelloWorld do not take notes.
3. Variable-----is not allowed to have spaces when naming some intermediate result variables in the process of storing program operation
Constant variable constants in 4.Python are all capitalized when named, but can still be changed just to differentiate
5. Memory recovery mechanism del--manually forcibly remove the "house number"
6. Unicode is backwards compatible gb2312 Python 3.0 does not need to be changed directly support Chinese
7. Comment Line comments with #
Multiple lines of comment with "'" "or" "" ""
8. Use input () for the purpose of user interaction. It is important to note that all data received by input is a string, even if the number is still treated as a string
Second, experience
From their own choice to embark on the path of Python, only hope that they can persist, the first day of learning are some basic knowledge, most of which have been learned in C, Java has embodied, but after all, this is a long way, the revolution has not been successful, comrades still need to work hard.
Python 3 first day of learning--python Basics