May 29, 2021 Article blog
1. 1. How does Python get started?
2. 2, Python development tool selection
5. 5, Python variables, conditions, function usage
6. 6, Python module, file handling, exception handling
How should beginners learn Python? This article tells you how rookies learn Python from scratch.
Now that the Python language is so popular, someone can't wait to learn Python, so how do you get started quickly and get started quickly? Let's start with the development tools
Development tools have their own benefits, mainly divided into Python code editor and integrated development environment, details can see what software python uses?
Strings can be seen as Python's most fundamental and important cornerstone, no matter what you do with Python, and strings are handled very flexibly and contain many useful functions.
Yuanzu, dictionaries, lists, and collections can count as Python's four talents, these should be carefully learned.
How to use variables, divided into global variables and local variables, function parameters pass how many ways? W hy are there so many delivery methods? D o you want a value pass or a reference pass? H ow do masters use function parameters? You have to understand all this.
Modules refer to Python having a large number of third-party libraries, and file processing is the simplest for other languages, as far as possible without exception handling.
Python's classes encapsulate, inherit, and polymorphize data, and regular expressions are a magnet for solving complex code, and time processing is important.
The generator is a difficult concept to understand, but it is very useful. P ython concurres into multi-process, multithreaded, and microthreaded. Decorators are as difficult to understand as generators, and can be easily extended while separating code.
That's all you need to do with rookie python.