Module Expr Str Assign NameStore Str Assign NameStore Str Import alias identifier Import alias identifier ImportFrom alias Import alias alias alias FunctionDef arguments args defaults body Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Assign NameStore ListLoad Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body AugAssignSub NameStore Num If CompareLtE NameLoad Num body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign AttributeStore NameLoad attr TupleLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AugAssignAdd NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareGtE Call NameLoad NameLoad Num body Assign NameStore AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpDiv Num Num Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A Very simple example that does not depend on any third party library such 
as pygame or pyglet like the other examples. 
 N/A __version__ $Id:$ N/A __docformat__ reStructuredText N/A pymunk pm N/A pymunk.util u pymunk Vec2d N/A math sys random main N/A N/A N/A N/A N/A N/A main1 N/A main1 N/A N/A N/A N/A N/A space N/A N/A pm Space N/A N/A space gravity N/A 0.0 -900.0 N/A balls N/A N/A ticks_to_next_ball 10 N/A sum_of_stuff 0 N/A x N/A range 5000 N/A N/A ticks_to_next_ball 1 N/A N/A ticks_to_next_ball 0 N/A N/A ticks_to_next_ball 10000 N/A mass 10 N/A radius 25 N/A inertia N/A N/A pm moment_for_circle mass 0 radius N/A 0 0 N/A body N/A N/A pm Body mass inertia N/A x N/A N/A random randint 115 350 N/A N/A body position N/A x 400 N/A shape N/A N/A pm Circle body radius N/A Vec2d 0 0 N/A N/A N/A space add body shape N/A N/A N/A balls append shape N/A balls_to_remove N/A N/A ball balls N/A N/A N/A N/A N/A N/A ball body position y 0 N/A N/A N/A N/A balls_to_remove append ball N/A sum_of_stuff N/A N/A N/A ball body position x N/A sum_of_stuff N/A N/A ball body angle N/A ball balls_to_remove N/A N/A N/A N/A space remove ball N/A ball body N/A N/A N/A balls remove ball N/A N/A N/A len balls 1 N/A N/A v N/A N/A N/A balls N/A 0 body position N/A N/A (in on_draw): point = %.2f, %.2f N/A N/A v x N/A v y N/A x N/A range 1 N/A N/A N/A N/A space step N/A 1 50.0 N/A sum_of_stuff N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main