标识符:Identifiers
标识符必须以字母(大小写均可)或者"_"开头,接下来可以重复0到多次(字母|数字|"_")
关键字其实就是python内部已经使用了的标识符,如果使用这些关键字,将会覆盖python内置的功能,可能会导致无法预知的错误。
| and | del | from | not | while | 
| as | elif | global | or | with | 
| assert | else | if | pass | yield | 
| break | except | import | ||
| class | exec | in | raise | |
| continue | finally | is | return | |
| def | for | lambda | try | 
以上关键字必须准确拼写,因为python是区分大小写的
python-标识符(Identifiers)和关键字(keywords)
原文:http://www.cnblogs.com/xishaonian/p/7336903.html