Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Rookie learns python


May 29, 2021 Article blog


Table of contents


How should beginners learn Python? This article tells you how rookies learn Python from scratch.

1. How does Python get started?

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

2, Python development tool selection

Development tools have their own benefits, mainly divided into Python code editor and integrated development environment, details can see what software python uses?

3, Python's string

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.

4, Python data structure

Yuanzu, dictionaries, lists, and collections can count as Python's four talents, these should be carefully learned.

5, Python variables, conditions, function usage

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.

6, Python module, file handling, exception handling

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.

7, Python class, regular expression, time processing

Python's classes encapsulate, inherit, and polymorphize data, and regular expressions are a magnet for solving complex code, and time processing is important.

8, Python generator, concurrent processing, decorator

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.