Python

From ZENotes
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
  
 
[[Python glossary]]
 
[[Python glossary]]
 +
 +
[[Python modules]]
  
  

Revision as of 10:19, 5 May 2013

From http://interactivepython.org/courselib/static/thinkcspy/GeneralIntro/introduction.html

Python snippets

Python glossary

Python modules


Python keywords

and as assert
break
class continue
def del
elif else except exec
False finally for from
global
if import in is
lambda
nonlocal None not
or
pass
raise return
try True
while with
yield


The following are all legal Python expressions whose meaning is more or less clear:

20 + 32
hour - 1
hour * 60 + minute
minute / 60
5 ** 2
(5 + 9) * (15 - 7)



Back to Self training

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox