Home  >  Article  >  Backend Development  >  What are the basics of python language

What are the basics of python language

silencement
silencementOriginal
2019-05-20 19:26:282884browse

What are the basics of python language

Types and operators

Number
String
List
Dictionary
Tuple
File
Common object properties

Basic statement

Assignment
Expression
Print
If condition test
While loop
for loop

Function

Function basics
Scope rules in functions
Parameter passing

Class

Use class statement
Way of using class
Inheritance search namespace tree
Overloading operators in classes
Summary of namespace rules
Use classes to design

Exception

Basic knowledge of exception
Exception usage
Exception capture module

The above is the detailed content of What are the basics of python language. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn