Python
From ZENotes
(Difference between revisions)
| Line 6: | Line 6: | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | + | !Python keywords| | |
|- | |- | ||
| − | |and ||as|| assert ||break ||class|| continue | + | |and ||as|| assert ||break ||class|| continue |
|- | |- | ||
| − | |def ||del || elif ||else ||except ||exec | + | |def ||del || elif ||else ||except ||exec |
|- | |- | ||
| − | |finally || for || from ||global || if || import | + | |finally || for || from ||global || if || import |
|- | |- | ||
| − | |in ||is || lambda|| nonlocal|| not || or | + | |in ||is || lambda|| nonlocal|| not || or |
|- | |- | ||
| − | |pass ||raise|| return|| try || while || with | + | |pass ||raise|| return|| try || while || with |
|- | |- | ||
| − | |yield|| True|| False|| None || || | + | |yield|| True|| False|| None || || |
| − | | | + | | |
Back to [[Self training]] | Back to [[Self training]] | ||
Revision as of 12:55, 1 May 2013
From http://interactivepython.org/courselib/static/thinkcspy/GeneralIntro/introduction.html
| and | as | assert | break | class | continue | |
| def | del | elif | else | except | exec | |
| finally | for | from | global | if | import | |
| in | is | lambda | nonlocal | not | or | |
| pass | raise | return | try | while | with | |
| yield | True | False | None |
|