1.Reserved Words
assert
break
continue
class
def del
elif else except exec
finally for from
global
if import in is
lambda
map
not and or
None
pass print
try raise range return
while
2.Built-in Functions
abs apply
callable chr cmp coerce compile complex
delattr dir divmod
eval execfile
filter float
getattr globals group
hasattr hash hex
id input int intern isinstance issubclass
joinfields
len list local long
max min match
oct open ord
pow
raw_input reduce reload repr round
search setattr setdefault slice str splitfields
unichr unicode
tuple type
vars
xrange
zip
__import__
3. __Methods__
__abs__ __add__ __and__
__call__ __cmp__ __coerce__
__del__ __delattr__ __delitem__ __delslice__ __div__ __divmod__
__float__
__getattr__ __getitem__ __getslice__
__hash__ __hex__
__iadd__ __isub__ __imod__ __idiv__ __ipow__ __iand__ __ior__ __ixor__
__ilshift__ __irshift__
__invert__ __int__ __init__
__len__ __long__ __lshift__
__mod__ __mul__
__neg__ __nonzero__
__oct__ __or__
__pos__ __pow__
__radd__ __rdiv__ __rdivmod__ __rmod__ __rpow__ __rlshift__ __rrshift__
__rshift__ __rsub__ __rmul__ __repr__
__rand__ __rxor__ __ror__
__setattr__ __setitem__ __setslice__ __str__ __sub__
__xor__
4. __Attributes__
__bases__
__class__
__dict__ __doc__
__methods__ __members__
__name__
__version__
5.Exceptions
ArithmeticError AssertionError
EOFError Exception
FloatingPointError
IOError ImportError IndentationError IndexError
KeyboardInterrupt
LookupError
MemoryError
AttributeError
NameError
OverflowError
RuntimeError
StandardError SyntaxError SystemError SystemExit
TabError TypeError
KeyError ValueError
ZeroDivisionError
阅读(537) | 评论(0) | 转发(0) |