and |
Expressions for calculation, a logical AND operation |
as |
For type conversion |
assert |
Asserted, the variable is determined whether the value of the conditional expression is true or |
break |
Break loop execution |
class |
It is used to define the class |
continue |
The next cycle continues |
def |
Function or method used to define the |
of the |
The value of a variable or deleted sequences |
elif |
Conditional statements, and if, else in combination |
else |
Conditional statement, and if, elif used in combination, and also be used for abnormal loop |
except |
comprising operation code blocks except the catch exceptions, and try, finally combination |
exec |
Python statement for execution |
for |
for loop |
finally |
After the statement abnormality, abnormal, the finally is always executed, the block comprising, and try, except in combination |
from |
Import module for use in conjunction with import |
globe |
Define global variables |
if |
Conditional statements, in conjunction with else, elif |
import |
Module for importing, from the use in combination with |
in |
Determining whether the variable in the sequence |
is |
Determine whether a variable is an instance of a class |
lambda |
Anonymous defined variables |
not |
Expressions for calculation logic NOT operation |
or |
Expressions for calculation, logical OR |
pass |
Empty class, method, function placeholder |
print |
Print statements |
raise |
An exception is thrown operation |
return |
Functions for returning results from |
try |
ry include statements may appear abnormal, and except, finally used in combination |
while |
while the loop |
with |
Python simplified statement |
yield |
The return value from a function so |
nonlocal |
|
false |
|