Module Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad ImportFrom alias orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad ImportFrom alias If BoolOpAnd NameLoad CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias orelse ImportFrom alias Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Num Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Lambda arguments args NameParam defaults NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Dict Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Dict Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Num Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr SubscriptLoad NameLoad Index Str Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad If CompareEq NameLoad Str body Return BinOpAdd NameLoad BinOpMult NameLoad Str orelse If CompareEq NameLoad Str body Return BinOpAdd BinOpMult NameLoad Str NameLoad orelse If BinOpMod NameLoad Num body If BinOpMod Call NameLoad NameLoad Num body Return BinOpAdd BinOpAdd BinOpMult BinOpFloorDiv NameLoad Num Str NameLoad BinOpMult BinOpAdd BinOpFloorDiv NameLoad Num Num Str orelse Return BinOpAdd BinOpAdd BinOpMult BinOpAdd BinOpFloorDiv NameLoad Num Num Str NameLoad BinOpMult BinOpFloorDiv NameLoad Num Str orelse Return BinOpAdd BinOpAdd BinOpMult BinOpFloorDiv NameLoad Num Str NameLoad BinOpMult BinOpFloorDiv NameLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body If AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Return Num orelse Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad BinOpAdd Str NameLoad Call NameLoad NameLoad BinOpAdd Str NameLoad Expr Call NameLoad NameLoad Str Call NameLoad NameLoad Str If Call NameLoad NameLoad NameLoad body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list If NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list orelse FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body TryExcept body Assert CompareEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body TryExcept body Assert CompareEq Call NameLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assert CompareEq Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assert CompareIn NameLoad TupleLoad Str Str Str Str NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assert CompareIn NameLoad ListLoad Str Str Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assert CompareIn NameLoad ListLoad Str Str Str NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert CompareGtE Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert CompareIn NameLoad TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Return TryExcept body Assert CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Return TryExcept body Assert CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assert CompareIn Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareLtE Call NameLoad NameLoad Num Assert BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assert BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert CompareIn NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert CompareIn NameLoad TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIs NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert CompareEq Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assert Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str If BoolOpAnd AttributeLoad NameLoad attr NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad BinOpAdd Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListComp BinOpMod Str BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareGt NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str body Expr Str If CompareIn Call NameLoad AttributeLoad NameLoad attr TupleLoad Num Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For NameStore Call NameLoad Num Call NameLoad NameLoad body If CompareLt Call NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If SubscriptLoad NameLoad Index Str body Assign NameStore ListComp SubscriptLoad Call NameLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr orelse Assign NameStore BinOpMult Call NameLoad AttributeLoad NameLoad attr ListLoad Num For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad SubscriptLoad Call NameLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad Call NameLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore ListComp BinOpAdd ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Assign NameStore ListComp SubscriptLoad NameLoad Slice Num comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num BoolOpOr UnaryOpNot SubscriptLoad NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str body Return Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd SubscriptLoad NameLoad Index Str CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot SubscriptLoad NameLoad Index Str body Return Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Assign NameStore ListLoad SubscriptLoad NameLoad Index Str orelse Assign NameStore ListLoad SubscriptLoad NameLoad Index Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Call AttributeLoad Str attr NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad NameLoad attr BinOpMult BinOpAdd BinOpAdd NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad NameLoad attr body If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpMult Str NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad BinOpMult Str NameLoad If SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore NameStore NameStore Call NameLoad Call NameLoad Num Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad For NameStore NameLoad body If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad If SubscriptLoad NameLoad Index Str body If CompareIn SubscriptLoad NameLoad Index Str TupleLoad NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad If NameLoad body If CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpAdd BinOpMult ListLoad Str Call NameLoad BinOpDiv NameLoad Num NameLoad BinOpMult ListLoad Str BinOpSub NameLoad Call NameLoad BinOpDiv NameLoad Num orelse If CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpMult ListLoad Str NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad BinOpMult ListLoad Str NameLoad Assign NameStore Num For NameStore NameLoad body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr BinOpAdd BinOpAdd BinOpMult Str NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad BinOpMult Str NameLoad If SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str AugAssignAdd NameStore Num For NameStore Call NameLoad Num NameLoad body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index Str If BoolOpAnd SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str If SubscriptLoad NameLoad Index Str body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Call NameLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Call NameLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str If SubscriptLoad NameLoad Index Str body If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If SubscriptLoad NameLoad Index Str body For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad Call NameLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad Dict Str Str Str Str Str Str Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad Dict Str Str Str Str Str Str Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad Call NameLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If CompareLtELtE Num NameLoad Num body Return Num If CompareLtELtE Num NameLoad Num body Return Num If CompareLtELtE Num NameLoad Num body Return Num If Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Return Num If BoolOpOr CompareLtELtE Num NameLoad Num CompareLtELtE Num NameLoad Num body Return Num If CompareLtELtE Num NameLoad Num body Return Num If CompareLtELtE Num NameLoad Num body Return Num If CompareIn NameLoad TupleLoad Num Num body Return Num orelse If CompareIn NameLoad TupleLoad Num Num body Return Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If NameLoad body Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad ListLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareLt Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore BinOpSub AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num For NameStore Call NameLoad Num NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str If CompareEq SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call NameLoad Num Call NameLoad NameLoad body For NameStore Call NameLoad BinOpAdd NameLoad Num Call NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assert CompareEq Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad ListLoad Str Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Str Num Num Num Print NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A __version__ 0.7.2 N/A copy N/A csv N/A random N/A re N/A sys N/A textwrap N/A itertools N/A unicodedata N/A py3k N/A N/A N/A sys version_info N/A 0 3 N/A py3k N/A N/A unicode str N/A basestring str N/A itermap map N/A iterzip zip N/A uni_chr chr html.parser HTMLParser N/A N/A itermap N/A itertools imap N/A iterzip N/A itertools izip N/A uni_chr unichr HTMLParser HTMLParser N/A N/A py3k N/A N/A N/A sys version_info N/A 1 2 N/A html escape N/A cgi escape N/A FRAME 0 N/A ALL 1 N/A NONE 2 N/A HEADER 3 N/A DEFAULT 10 N/A MSWORD_FRIENDLY 11 N/A PLAIN_COLUMNS 12 N/A RANDOM 20 N/A _re N/A N/A re compile \[[0-9;]*m _get_size N/A N/A text N/A N/A N/A lines N/A N/A text split N/A height N/A len lines N/A width N/A max N/A N/A _str_block_width line N/A line lines N/A N/A width height N/A PrettyTable N/A object N/A __init__ N/A N/A self field_names N/A None kwargs N/A N/A Return a new PrettyTable instance

        Arguments:

        encoding - Unicode encoding scheme used to decode any encoded input
        field_names - list or tuple of field names
        fields - list or tuple of field names to include in displays
        start - index of first data row to include in output
        end - index of last data row to include in output PLUS ONE (list slice style)
        header - print a header showing field names (True or False)
        header_style - stylisation to apply to field names in header ("cap", "title", "upper", "lower" or None)
        border - print a border around the table (True or False)
        hrules - controls printing of horizontal rules after rows.  Allowed values: FRAME, HEADER, ALL, NONE
        vrules - controls printing of vertical rules between columns.  Allowed values: FRAME, ALL, NONE
        int_format - controls formatting of integer data
        float_format - controls formatting of floating point data
        padding_width - number of spaces on either side of column data (only used if left and right paddings are None)
        left_padding_width - number of spaces on left hand side of column data
        right_padding_width - number of spaces on right hand side of column data
        vertical_char - single character string used to draw vertical lines
        horizontal_char - single character string used to draw horizontal lines
        junction_char - single character string used to draw line junctions
        sortby - name of field to sort rows by
        sort_key - sorting key function, applied to data points before sorting
        valign - default valign for each row (None, "t", "m" or "b")
        reversesort - True or False to sort in descending or ascending order N/A N/A self encoding N/A N/A kwargs get encoding UTF-8 N/A N/A self _field_names N/A N/A N/A self _align N/A N/A N/A self _valign N/A N/A N/A self _max_width N/A N/A N/A self _rows N/A N/A field_names N/A N/A N/A self field_names field_names N/A N/A N/A self _widths N/A N/A N/A self _options N/A N/A start end fields header border sortby reversesort sort_key attributes format hrules vrules split N/A N/A N/A N/A self _options extend N/A N/A int_format float_format padding_width left_padding_width right_padding_width split N/A N/A N/A N/A self _options extend N/A N/A vertical_char horizontal_char junction_char header_style valign xhtml print_empty split N/A option N/A self _options N/A N/A N/A option kwargs N/A N/A N/A N/A self _validate_option option N/A kwargs N/A option N/A N/A N/A kwargs N/A option None N/A N/A self _start N/A N/A kwargs N/A start 0 N/A N/A self _end N/A N/A kwargs N/A end None N/A N/A self _fields N/A N/A kwargs N/A fields None N/A N/A N/A kwargs N/A header N/A True False N/A N/A N/A self _header N/A kwargs N/A header N/A N/A N/A self _header True N/A N/A self _header_style N/A N/A kwargs N/A header_style None N/A N/A N/A kwargs N/A border N/A True False N/A N/A N/A self _border N/A kwargs N/A border N/A N/A N/A self _border True N/A N/A self _hrules N/A N/A kwargs N/A hrules FRAME N/A N/A self _vrules N/A N/A kwargs N/A vrules ALL N/A N/A self _sortby N/A N/A kwargs N/A sortby None N/A N/A N/A kwargs N/A reversesort N/A True False N/A N/A N/A self _reversesort N/A kwargs N/A reversesort N/A N/A N/A self _reversesort False N/A N/A self _sort_key N/A N/A kwargs N/A sort_key N/A N/A N/A x N/A x N/A N/A self _int_format N/A N/A kwargs N/A int_format N/A N/A N/A self _float_format N/A N/A kwargs N/A float_format N/A N/A N/A self _padding_width N/A N/A kwargs N/A padding_width 1 N/A N/A self _left_padding_width N/A N/A kwargs N/A left_padding_width None N/A N/A self _right_padding_width N/A N/A kwargs N/A right_padding_width None N/A N/A self _vertical_char N/A N/A kwargs N/A vertical_char N/A N/A self _unicode | N/A N/A self _horizontal_char N/A N/A kwargs N/A horizontal_char N/A N/A self _unicode - N/A N/A self _junction_char N/A N/A kwargs N/A junction_char N/A N/A self _unicode + N/A N/A N/A kwargs N/A print_empty N/A True False N/A N/A N/A self _print_empty N/A kwargs N/A print_empty N/A N/A N/A self _print_empty True N/A N/A self _format N/A N/A kwargs N/A format False N/A N/A self _xhtml N/A N/A kwargs N/A xhtml False N/A N/A self _attributes N/A N/A kwargs N/A attributes N/A N/A _unicode N/A N/A self value N/A N/A N/A N/A N/A isinstance value basestring N/A N/A value N/A str value N/A N/A N/A isinstance value unicode N/A N/A value N/A unicode value N/A self encoding strict N/A value N/A _justify N/A N/A self text width align N/A N/A N/A excess N/A width N/A _str_block_width text N/A N/A align l N/A N/A N/A text N/A excess N/A N/A N/A align r N/A N/A N/A N/A excess text N/A N/A N/A excess 2 N/A N/A N/A N/A _str_block_width text 2 N/A N/A N/A N/A N/A N/A excess 2 text N/A N/A N/A excess 2 1 N/A N/A N/A N/A N/A N/A N/A excess 2 1 text N/A N/A excess 2 N/A N/A N/A N/A N/A N/A excess 2 text N/A N/A excess 2 N/A __getattr__ N/A N/A self name N/A N/A N/A N/A name rowcount N/A N/A N/A len N/A self _rows N/A N/A N/A name colcount N/A N/A N/A self _field_names N/A N/A N/A len N/A self _field_names N/A N/A N/A self _rows N/A N/A N/A len N/A N/A self _rows N/A 0 N/A N/A 0 N/A N/A N/A AttributeError name N/A __getitem__ N/A N/A self index N/A N/A N/A new N/A PrettyTable N/A N/A new field_names N/A self field_names N/A attr N/A self _options N/A N/A N/A setattr new N/A _ attr N/A getattr self N/A _ attr N/A N/A setattr new _align N/A getattr self _align N/A N/A isinstance index slice N/A N/A row N/A N/A self _rows N/A index N/A N/A N/A N/A new add_row row N/A N/A N/A isinstance index int N/A N/A N/A N/A new add_row N/A N/A self _rows N/A index N/A N/A N/A Exception N/A Index %s is invalid, must be an integer or slice N/A str index N/A new N/A N/A py3k N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self __unicode__ N/A N/A __str__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __unicode__ encode N/A self encoding N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A self get_string N/A _validate_option N/A N/A self option val N/A N/A N/A N/A option field_names N/A N/A N/A N/A self _validate_field_names val N/A N/A N/A option N/A start end max_width padding_width left_padding_width right_padding_width format N/A N/A N/A N/A self _validate_nonnegative_int option val N/A N/A N/A option sortby N/A N/A N/A N/A self _validate_field_name option val N/A N/A N/A option sort_key N/A N/A N/A N/A self _validate_function option val N/A N/A N/A option hrules N/A N/A N/A N/A self _validate_hrules option val N/A N/A N/A option vrules N/A N/A N/A N/A self _validate_vrules option val N/A N/A N/A option fields N/A N/A N/A N/A self _validate_all_field_names option val N/A N/A N/A option N/A header border reversesort xhtml print_empty N/A N/A N/A N/A self _validate_true_or_false option val N/A N/A N/A option header_style N/A N/A N/A N/A self _validate_header_style val N/A N/A N/A option int_format N/A N/A N/A N/A self _validate_int_format option val N/A N/A N/A option float_format N/A N/A N/A N/A self _validate_float_format option val N/A N/A N/A option N/A vertical_char horizontal_char junction_char N/A N/A N/A N/A self _validate_single_char option val N/A N/A N/A option attributes N/A N/A N/A N/A self _validate_attributes option val N/A N/A N/A Exception N/A Unrecognised option: %s! option N/A _validate_field_names N/A N/A self val N/A N/A N/A N/A self _field_names N/A N/A N/A N/A N/A N/A len val N/A len N/A self _field_names N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Field name list has incorrect number of values, (actual) %d!=%d (expected) N/A N/A len val N/A len N/A self _field_names N/A N/A self _rows N/A N/A N/A N/A N/A N/A len val N/A len N/A N/A self _rows N/A 0 N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Field name list has incorrect number of values, (actual) %d!=%d (expected) N/A N/A len val N/A len N/A N/A self _rows N/A 0 N/A N/A N/A N/A N/A len val N/A len N/A set val N/A N/A N/A AssertionError N/A N/A N/A Exception Field names must be unique! N/A _validate_header_style N/A N/A self val N/A N/A N/A N/A N/A N/A val N/A cap title upper lower None N/A N/A N/A AssertionError N/A N/A N/A Exception Invalid header style, use cap, title, upper, lower or None! N/A _validate_align N/A N/A self val N/A N/A N/A N/A N/A N/A val N/A l c r N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Alignment %s is invalid, use l, c or r! val N/A _validate_valign N/A N/A self val N/A N/A N/A N/A N/A N/A val N/A t m b None N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Alignment %s is invalid, use t, m, b or None! val N/A _validate_nonnegative_int N/A N/A self name val N/A N/A N/A N/A N/A N/A N/A int val 0 N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s: %s! N/A name N/A N/A self _unicode val N/A _validate_true_or_false N/A N/A self name val N/A N/A N/A N/A N/A N/A val N/A True False N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be True or False. name N/A _validate_int_format N/A N/A self name val N/A N/A N/A N/A val N/A N/A N/A N/A N/A N/A N/A type val N/A str unicode N/A N/A N/A val isdigit N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be an integer format string. name N/A _validate_float_format N/A N/A self name val N/A N/A N/A N/A val N/A N/A N/A N/A N/A N/A N/A type val N/A str unicode N/A N/A . val N/A bits N/A N/A val split . N/A N/A N/A len bits 2 N/A N/A N/A N/A bits N/A 0 N/A N/A N/A bits N/A 0 isdigit N/A N/A N/A N/A bits N/A 1 N/A N/A N/A bits N/A 1 isdigit N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be a float format string. name N/A _validate_function N/A N/A self name val N/A N/A N/A N/A N/A N/A hasattr val __call__ N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be a function. name N/A _validate_hrules N/A N/A self name val N/A N/A N/A N/A N/A N/A val N/A ALL FRAME HEADER NONE N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be ALL, FRAME, HEADER or NONE. name N/A _validate_vrules N/A N/A self name val N/A N/A N/A N/A N/A N/A val N/A ALL FRAME NONE N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be ALL, FRAME, or NONE. name N/A _validate_field_name N/A N/A self name val N/A N/A N/A N/A N/A N/A N/A val N/A self _field_names N/A val None N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid field name: %s! val N/A _validate_all_field_names N/A N/A self name val N/A N/A N/A N/A N/A x val N/A N/A N/A N/A self _validate_field_name name x N/A N/A N/A AssertionError N/A N/A N/A Exception fields must be a sequence of field names! N/A _validate_single_char N/A N/A self name val N/A N/A N/A N/A N/A N/A N/A _str_block_width val 1 N/A N/A N/A AssertionError N/A N/A N/A Exception N/A Invalid value for %s!  Must be a string of length 1. name N/A _validate_attributes N/A N/A self name val N/A N/A N/A N/A N/A N/A isinstance val dict N/A N/A N/A AssertionError N/A N/A N/A Exception attributes must be a dictionary of name/value pairs! N/A _get_field_names N/A N/A self N/A N/A N/A N/A self _field_names N/A The names of the fields

        Arguments:

        fields - list or tuple of field names N/A _set_field_names N/A N/A self val N/A N/A N/A val N/A N/A N/A self _unicode x N/A x val N/A N/A N/A self _validate_option field_names val N/A N/A self _field_names N/A N/A old_names N/A N/A self _field_names N/A N/A N/A self _field_names val N/A N/A N/A self _align old_names N/A N/A N/A old_name new_name N/A zip old_names val N/A N/A N/A N/A self _align N/A new_name N/A N/A self _align N/A old_name N/A old_name old_names N/A N/A N/A old_name N/A self _align N/A N/A N/A N/A N/A self _align pop old_name N/A N/A field N/A self _field_names N/A N/A N/A N/A self _align N/A field c N/A N/A N/A self _valign old_names N/A N/A N/A old_name new_name N/A zip old_names val N/A N/A N/A N/A self _valign N/A new_name N/A N/A self _valign N/A old_name N/A old_name old_names N/A N/A N/A old_name N/A self _valign N/A N/A N/A N/A N/A self _valign pop old_name N/A N/A field N/A self _field_names N/A N/A N/A N/A self _valign N/A field t N/A N/A field_names N/A property _get_field_names _set_field_names _get_align N/A N/A self N/A N/A N/A N/A self _align N/A _set_align N/A N/A self val N/A N/A N/A N/A N/A self _validate_align val N/A field N/A self _field_names N/A N/A N/A N/A self _align N/A field val N/A N/A align N/A property _get_align _set_align _get_valign N/A N/A self N/A N/A N/A N/A self _valign N/A _set_valign N/A N/A self val N/A N/A N/A N/A N/A self _validate_valign val N/A field N/A self _field_names N/A N/A N/A N/A self _valign N/A field val N/A N/A valign N/A property _get_valign _set_valign _get_max_width N/A N/A self N/A N/A N/A N/A self _max_width N/A _set_max_width N/A N/A self val N/A N/A N/A N/A N/A self _validate_option max_width val N/A field N/A self _field_names N/A N/A N/A N/A self _max_width N/A field val N/A N/A max_width N/A property _get_max_width _set_max_width _get_fields N/A N/A self N/A N/A N/A List or tuple of field names to include in displays

        Arguments:

        fields - list or tuple of field names to include in displays N/A N/A self _fields N/A _set_fields N/A N/A self val N/A N/A N/A N/A N/A self _validate_option fields val N/A N/A self _fields val N/A N/A fields N/A property _get_fields _set_fields _get_start N/A N/A self N/A N/A N/A Start index of the range of rows to print

        Arguments:

        start - index of first data row to include in output N/A N/A self _start N/A _set_start N/A N/A self val N/A N/A N/A N/A N/A self _validate_option start val N/A N/A self _start val N/A N/A start N/A property _get_start _set_start _get_end N/A N/A self N/A N/A N/A End index of the range of rows to print

        Arguments:

        end - index of last data row to include in output PLUS ONE (list slice style) N/A N/A self _end N/A _set_end N/A N/A self val N/A N/A N/A N/A N/A self _validate_option end val N/A N/A self _end val N/A N/A end N/A property _get_end _set_end _get_sortby N/A N/A self N/A N/A N/A Name of field by which to sort rows

        Arguments:

        sortby - field name to sort by N/A N/A self _sortby N/A _set_sortby N/A N/A self val N/A N/A N/A N/A N/A self _validate_option sortby val N/A N/A self _sortby val N/A N/A sortby N/A property _get_sortby _set_sortby _get_reversesort N/A N/A self N/A N/A N/A Controls direction of sorting (ascending vs descending)

        Arguments:

        reveresort - set to True to sort by descending order, or False to sort by ascending order N/A N/A self _reversesort N/A _set_reversesort N/A N/A self val N/A N/A N/A N/A N/A self _validate_option reversesort val N/A N/A self _reversesort val N/A N/A reversesort N/A property _get_reversesort _set_reversesort _get_sort_key N/A N/A self N/A N/A N/A Sorting key function, applied to data points before sorting

        Arguments:

        sort_key - a function which takes one argument and returns something to be sorted N/A N/A self _sort_key N/A _set_sort_key N/A N/A self val N/A N/A N/A N/A N/A self _validate_option sort_key val N/A N/A self _sort_key val N/A N/A sort_key N/A property _get_sort_key _set_sort_key _get_header N/A N/A self N/A N/A N/A Controls printing of table header with field names

        Arguments:

        header - print a header showing field names (True or False) N/A N/A self _header N/A _set_header N/A N/A self val N/A N/A N/A N/A N/A self _validate_option header val N/A N/A self _header val N/A N/A header N/A property _get_header _set_header _get_header_style N/A N/A self N/A N/A N/A Controls stylisation applied to field names in header

        Arguments:

        header_style - stylisation to apply to field names in header ("cap", "title", "upper", "lower" or None) N/A N/A self _header_style N/A _set_header_style N/A N/A self val N/A N/A N/A N/A N/A self _validate_header_style val N/A N/A self _header_style val N/A N/A header_style N/A property _get_header_style _set_header_style _get_border N/A N/A self N/A N/A N/A Controls printing of border around table

        Arguments:

        border - print a border around the table (True or False) N/A N/A self _border N/A _set_border N/A N/A self val N/A N/A N/A N/A N/A self _validate_option border val N/A N/A self _border val N/A N/A border N/A property _get_border _set_border _get_hrules N/A N/A self N/A N/A N/A Controls printing of horizontal rules after rows

        Arguments:

        hrules - horizontal rules style.  Allowed values: FRAME, ALL, HEADER, NONE N/A N/A self _hrules N/A _set_hrules N/A N/A self val N/A N/A N/A N/A N/A self _validate_option hrules val N/A N/A self _hrules val N/A N/A hrules N/A property _get_hrules _set_hrules _get_vrules N/A N/A self N/A N/A N/A Controls printing of vertical rules between columns

        Arguments:

        vrules - vertical rules style.  Allowed values: FRAME, ALL, NONE N/A N/A self _vrules N/A _set_vrules N/A N/A self val N/A N/A N/A N/A N/A self _validate_option vrules val N/A N/A self _vrules val N/A N/A vrules N/A property _get_vrules _set_vrules _get_int_format N/A N/A self N/A N/A N/A Controls formatting of integer data
        Arguments:

        int_format - integer format string N/A N/A self _int_format N/A _set_int_format N/A N/A self val N/A N/A N/A field N/A self _field_names N/A N/A N/A N/A self _int_format N/A field val N/A N/A int_format N/A property _get_int_format _set_int_format _get_float_format N/A N/A self N/A N/A N/A Controls formatting of floating point data
        Arguments:

        float_format - floating point format string N/A N/A self _float_format N/A _set_float_format N/A N/A self val N/A N/A N/A field N/A self _field_names N/A N/A N/A N/A self _float_format N/A field val N/A N/A float_format N/A property _get_float_format _set_float_format _get_padding_width N/A N/A self N/A N/A N/A The number of empty spaces between a column's edge and its content

        Arguments:

        padding_width - number of spaces, must be a positive integer N/A N/A self _padding_width N/A _set_padding_width N/A N/A self val N/A N/A N/A N/A N/A self _validate_option padding_width val N/A N/A self _padding_width val N/A N/A padding_width N/A property _get_padding_width _set_padding_width _get_left_padding_width N/A N/A self N/A N/A N/A The number of empty spaces between a column's left edge and its content

        Arguments:

        left_padding - number of spaces, must be a positive integer N/A N/A self _left_padding_width N/A _set_left_padding_width N/A N/A self val N/A N/A N/A N/A N/A self _validate_option left_padding_width val N/A N/A self _left_padding_width val N/A N/A left_padding_width N/A property _get_left_padding_width _set_left_padding_width _get_right_padding_width N/A N/A self N/A N/A N/A The number of empty spaces between a column's right edge and its content

        Arguments:

        right_padding - number of spaces, must be a positive integer N/A N/A self _right_padding_width N/A _set_right_padding_width N/A N/A self val N/A N/A N/A N/A N/A self _validate_option right_padding_width val N/A N/A self _right_padding_width val N/A N/A right_padding_width N/A property _get_right_padding_width _set_right_padding_width _get_vertical_char N/A N/A self N/A N/A N/A The charcter used when printing table borders to draw vertical lines

        Arguments:

        vertical_char - single character string used to draw vertical lines N/A N/A self _vertical_char N/A _set_vertical_char N/A N/A self val N/A N/A N/A val N/A N/A self _unicode val N/A N/A N/A self _validate_option vertical_char val N/A N/A self _vertical_char val N/A N/A vertical_char N/A property _get_vertical_char _set_vertical_char _get_horizontal_char N/A N/A self N/A N/A N/A The charcter used when printing table borders to draw horizontal lines

        Arguments:

        horizontal_char - single character string used to draw horizontal lines N/A N/A self _horizontal_char N/A _set_horizontal_char N/A N/A self val N/A N/A N/A val N/A N/A self _unicode val N/A N/A N/A self _validate_option horizontal_char val N/A N/A self _horizontal_char val N/A N/A horizontal_char N/A property _get_horizontal_char _set_horizontal_char _get_junction_char N/A N/A self N/A N/A N/A The charcter used when printing table borders to draw line junctions

        Arguments:

        junction_char - single character string used to draw line junctions N/A N/A self _junction_char N/A _set_junction_char N/A N/A self val N/A N/A N/A val N/A N/A self _unicode val N/A N/A N/A self _validate_option vertical_char val N/A N/A self _junction_char val N/A N/A junction_char N/A property _get_junction_char _set_junction_char _get_format N/A N/A self N/A N/A N/A Controls whether or not HTML tables are formatted to match styling options

        Arguments:

        format - True or False N/A N/A self _format N/A _set_format N/A N/A self val N/A N/A N/A N/A N/A self _validate_option format val N/A N/A self _format val N/A N/A format N/A property _get_format _set_format _get_print_empty N/A N/A self N/A N/A N/A Controls whether or not empty tables produce a header and frame or just an empty string

        Arguments:

        print_empty - True or False N/A N/A self _print_empty N/A _set_print_empty N/A N/A self val N/A N/A N/A N/A N/A self _validate_option print_empty val N/A N/A self _print_empty val N/A N/A print_empty N/A property _get_print_empty _set_print_empty _get_attributes N/A N/A self N/A N/A N/A A dictionary of HTML attribute name/value pairs to be included in the <table> tag when printing HTML

        Arguments:

        attributes - dictionary of attributes N/A N/A self _attributes N/A _set_attributes N/A N/A self val N/A N/A N/A N/A N/A self _validate_option attributes val N/A N/A self _attributes val N/A N/A attributes N/A property _get_attributes _set_attributes _get_options N/A N/A self kwargs N/A N/A N/A options N/A N/A option N/A self _options N/A N/A N/A option kwargs N/A N/A N/A N/A self _validate_option option N/A kwargs N/A option N/A N/A options N/A option N/A kwargs N/A option N/A N/A N/A options N/A option N/A getattr self N/A _ option N/A options N/A set_style N/A N/A self style N/A N/A N/A N/A style DEFAULT N/A N/A N/A N/A self _set_default_style N/A N/A N/A style MSWORD_FRIENDLY N/A N/A N/A N/A self _set_msword_style N/A N/A N/A style PLAIN_COLUMNS N/A N/A N/A N/A self _set_columns_style N/A N/A N/A style RANDOM N/A N/A N/A N/A self _set_random_style N/A N/A N/A Exception Invalid pre-set style! N/A _set_default_style N/A N/A self N/A N/A N/A N/A self header True N/A N/A self border True N/A N/A self _hrules FRAME N/A N/A self _vrules ALL N/A N/A self padding_width 1 N/A N/A self left_padding_width 1 N/A N/A self right_padding_width 1 N/A N/A self vertical_char | N/A N/A self horizontal_char - N/A N/A self junction_char + N/A _set_msword_style N/A N/A self N/A N/A N/A N/A self header True N/A N/A self border True N/A N/A self _hrules NONE N/A N/A self padding_width 1 N/A N/A self left_padding_width 1 N/A N/A self right_padding_width 1 N/A N/A self vertical_char | N/A _set_columns_style N/A N/A self N/A N/A N/A N/A self header True N/A N/A self border False N/A N/A self padding_width 1 N/A N/A self left_padding_width 0 N/A N/A self right_padding_width 8 N/A _set_random_style N/A N/A self N/A N/A N/A N/A self header N/A N/A random choice N/A True False N/A N/A self border N/A N/A random choice N/A True False N/A N/A self _hrules N/A N/A random choice N/A ALL FRAME HEADER NONE N/A N/A self _vrules N/A N/A random choice N/A ALL FRAME NONE N/A N/A self left_padding_width N/A N/A random randint 0 5 N/A N/A self right_padding_width N/A N/A random randint 0 5 N/A N/A self vertical_char N/A N/A random choice ~!@#$%^&*()_+|-=\{}[];':",./;<>? N/A N/A self horizontal_char N/A N/A random choice ~!@#$%^&*()_+|-=\{}[];':",./;<>? N/A N/A self junction_char N/A N/A random choice ~!@#$%^&*()_+|-=\{}[];':",./;<>? N/A add_row N/A N/A self row N/A N/A N/A Add a row to the table

        Arguments:

        row - row of data, should be a list with as many elements as the table
        has fields N/A N/A N/A self _field_names N/A N/A len row N/A len N/A self _field_names N/A N/A N/A Exception N/A Row has incorrect number of values, (actual) %d!=%d (expected) N/A N/A len row N/A len N/A self _field_names N/A N/A N/A self _field_names N/A N/A N/A self field_names N/A N/A Field %d N/A n 1 N/A n N/A range 0 N/A len row N/A N/A N/A N/A self _rows append N/A list row N/A del_row N/A N/A self row_index N/A N/A N/A Delete a row to the table

        Arguments:

        row_index - The index of the row you want to delete.  Indexing starts at 0. N/A N/A row_index N/A N/A len N/A self _rows 1 N/A N/A N/A Exception N/A Cant delete row at index %d, table only has %d rows! N/A row_index N/A len N/A self _rows N/A N/A N/A self _rows N/A row_index N/A add_column N/A N/A self fieldname column align valign N/A c t N/A N/A Add a column to the table.

        Arguments:

        fieldname - name of the field to contain the new column of data
        column - column of data, should be a list with as many elements as the
        table has rows
        align - desired alignment for this column - "l" for left, "c" for centre and "r" for right
        valign - desired vertical alignment for new columns - "t" for top, "m" for middle and "b" for bottom N/A N/A N/A len N/A self _rows N/A 0 N/A len column N/A N/A N/A N/A self _validate_align align N/A N/A N/A self _validate_valign valign N/A N/A N/A N/A self _field_names append fieldname N/A N/A N/A self _align N/A fieldname align N/A N/A N/A self _valign N/A fieldname valign N/A i N/A range 0 N/A len column N/A N/A N/A N/A len N/A self _rows N/A i 1 N/A N/A N/A N/A N/A self _rows append N/A N/A N/A N/A N/A N/A self _rows N/A i append N/A column N/A i N/A N/A N/A Exception N/A Column length %d does not match number of rows %d! N/A N/A len column N/A len N/A self _rows N/A clear_rows N/A N/A self N/A N/A N/A Delete all rows from the table but keep the current field names N/A N/A self _rows N/A N/A clear N/A N/A self N/A N/A N/A Delete all rows and field names from the table, maintaining nothing but styling options N/A N/A self _rows N/A N/A N/A self _field_names N/A N/A N/A self _widths N/A N/A copy N/A N/A self N/A N/A N/A N/A N/A copy deepcopy self N/A _format_value N/A N/A self field value N/A N/A N/A N/A N/A isinstance value int N/A field N/A self _int_format N/A N/A value N/A N/A self _unicode N/A N/A %%%sd N/A N/A self _int_format N/A field value N/A N/A N/A N/A isinstance value float N/A field N/A self _float_format N/A N/A value N/A N/A self _unicode N/A N/A %%%sf N/A N/A self _float_format N/A field value N/A N/A N/A self _unicode value N/A _compute_widths N/A N/A self rows options N/A N/A N/A N/A options N/A header N/A N/A widths N/A N/A N/A _get_size field N/A 0 N/A field N/A self _field_names N/A N/A widths N/A N/A len N/A self field_names N/A 0 N/A row rows N/A N/A N/A index value N/A enumerate row N/A N/A fieldname N/A N/A self field_names N/A index N/A N/A fieldname N/A self max_width N/A N/A N/A widths N/A index N/A max N/A widths N/A index N/A min N/A N/A _get_size value N/A 0 N/A N/A self max_width N/A fieldname N/A N/A N/A widths N/A index N/A max N/A widths N/A index N/A N/A _get_size value N/A 0 N/A N/A self _widths widths N/A _get_padding_widths N/A N/A self options N/A N/A N/A N/A N/A options N/A left_padding_width None N/A N/A lpad N/A options N/A left_padding_width N/A N/A lpad N/A options N/A padding_width N/A N/A N/A options N/A right_padding_width None N/A N/A rpad N/A options N/A right_padding_width N/A N/A rpad N/A options N/A padding_width N/A N/A lpad rpad N/A _get_rows N/A N/A self options N/A N/A N/A Return only those data rows that should be printed, based on slicing and sorting.

        Arguments:

        options - dictionary of option settings. N/A rows N/A N/A copy deepcopy N/A N/A self _rows N/A N/A options N/A start N/A options N/A end N/A N/A options N/A sortby N/A N/A sortindex N/A N/A N/A self _field_names index N/A options N/A sortby N/A rows N/A N/A N/A N/A row N/A sortindex row N/A row rows N/A N/A N/A rows sort reverse N/A options N/A reversesort key N/A options N/A sort_key N/A rows N/A N/A row N/A 1 N/A row rows N/A rows N/A _format_row N/A N/A self row options N/A N/A N/A N/A N/A N/A self _format_value field value N/A N/A field value N/A zip N/A self _field_names row N/A _format_rows N/A N/A self rows options N/A N/A N/A N/A N/A N/A self _format_row row options N/A row rows N/A get_string N/A N/A self N/A kwargs N/A N/A Return string representation of table in current state.

        Arguments:

        start - index of first data row to include in output
        end - index of last data row to include in output PLUS ONE (list slice style)
        fields - names of fields (columns) to include
        header - print a header showing field names (True or False)
        border - print a border around the table (True or False)
        hrules - controls printing of horizontal rules after rows.  Allowed values: ALL, FRAME, HEADER, NONE
        vrules - controls printing of vertical rules between columns.  Allowed values: FRAME, ALL, NONE
        int_format - controls formatting of integer data
        float_format - controls formatting of floating point data
        padding_width - number of spaces on either side of column data (only used if left and right paddings are None)
        left_padding_width - number of spaces on left hand side of column data
        right_padding_width - number of spaces on right hand side of column data
        vertical_char - single character string used to draw vertical lines
        horizontal_char - single character string used to draw horizontal lines
        junction_char - single character string used to draw line junctions
        sortby - name of field to sort rows by
        sort_key - sorting key function, applied to data points before sorting
        reversesort - True or False to sort in descending or ascending order
        print empty - if True, stringify just the header for an empty table, if False return an empty string  N/A options N/A N/A self _get_options kwargs N/A lines N/A N/A N/A N/A N/A self rowcount 0 N/A N/A N/A options N/A print_empty N/A N/A options N/A border N/A N/A N/A rows N/A N/A self _get_rows options N/A formatted_rows N/A N/A self _format_rows rows options N/A N/A N/A self _compute_widths formatted_rows options N/A N/A self _hrule N/A N/A self _stringify_hrule options N/A N/A options N/A header N/A N/A N/A N/A lines append N/A N/A self _stringify_header options N/A N/A N/A N/A options N/A border N/A N/A options N/A hrules N/A ALL FRAME N/A N/A N/A N/A lines append N/A self _hrule N/A row formatted_rows N/A N/A N/A N/A lines append N/A N/A self _stringify_row row options N/A N/A N/A options N/A border N/A N/A options N/A hrules FRAME N/A N/A N/A N/A lines append N/A self _hrule N/A N/A N/A N/A N/A self _unicode join lines N/A _stringify_hrule N/A N/A self options N/A N/A N/A N/A N/A options N/A border N/A N/A N/A N/A lpad rpad N/A N/A self _get_padding_widths options N/A N/A N/A options N/A vrules N/A ALL FRAME N/A N/A bits N/A N/A options N/A junction_char N/A N/A bits N/A N/A options N/A horizontal_char N/A N/A N/A self _field_names N/A N/A N/A N/A bits append N/A options N/A junction_char N/A N/A N/A join bits N/A N/A field width N/A zip N/A self _field_names N/A self _widths N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A bits append N/A N/A N/A width lpad rpad N/A options N/A horizontal_char N/A N/A N/A options N/A vrules ALL N/A N/A N/A N/A bits append N/A options N/A junction_char N/A N/A N/A N/A bits append N/A options N/A horizontal_char N/A N/A N/A options N/A vrules FRAME N/A N/A N/A N/A bits pop N/A N/A N/A bits append N/A options N/A junction_char N/A N/A N/A join bits N/A _stringify_header N/A N/A self options N/A N/A N/A bits N/A N/A N/A lpad rpad N/A N/A self _get_padding_widths options N/A N/A options N/A border N/A N/A N/A N/A options N/A hrules N/A ALL FRAME N/A N/A N/A N/A bits append N/A self _hrule N/A N/A N/A bits append N/A N/A N/A options N/A vrules N/A ALL FRAME N/A N/A N/A N/A bits append N/A options N/A vertical_char N/A N/A N/A N/A bits append N/A N/A N/A self _field_names N/A N/A N/A N/A options N/A vrules N/A ALL FRAME N/A N/A N/A N/A bits append N/A options N/A vertical_char N/A N/A N/A N/A bits append N/A N/A field width N/A zip N/A self _field_names N/A self _widths N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A self _header_style cap N/A N/A fieldname N/A N/A field capitalize N/A N/A N/A N/A self _header_style title N/A N/A fieldname N/A N/A field title N/A N/A N/A N/A self _header_style upper N/A N/A fieldname N/A N/A field upper N/A N/A N/A N/A self _header_style lower N/A N/A fieldname N/A N/A field lower N/A N/A fieldname field N/A N/A N/A bits append N/A N/A N/A lpad N/A N/A self _justify fieldname width N/A N/A self _align N/A field N/A rpad N/A N/A options N/A border N/A N/A N/A N/A options N/A vrules ALL N/A N/A N/A N/A bits append N/A options N/A vertical_char N/A N/A N/A N/A bits append N/A N/A N/A options N/A border N/A N/A options N/A vrules FRAME N/A N/A N/A N/A bits pop N/A N/A N/A bits append N/A options N/A vertical_char N/A N/A N/A options N/A border N/A N/A options N/A hrules NONE N/A N/A N/A N/A bits append N/A N/A N/A bits append N/A self _hrule N/A N/A N/A join bits N/A _stringify_row N/A N/A self row options N/A N/A N/A N/A index field value width N/A zip N/A range 0 N/A len row N/A self _field_names row N/A self _widths N/A N/A lines N/A N/A value split N/A new_lines N/A N/A line lines N/A N/A N/A N/A _str_block_width line width N/A N/A line N/A N/A textwrap fill line width N/A N/A N/A new_lines append line N/A lines new_lines N/A value N/A N/A join lines N/A N/A row N/A index value N/A row_height 0 N/A c row N/A N/A h N/A N/A _get_size c N/A 1 N/A N/A h row_height N/A N/A row_height h N/A bits N/A N/A N/A lpad rpad N/A N/A self _get_padding_widths options N/A y N/A range 0 row_height N/A N/A N/A N/A bits append N/A N/A N/A options N/A border N/A N/A N/A N/A options N/A vrules N/A ALL FRAME N/A N/A N/A N/A N/A bits N/A y append N/A self vertical_char N/A N/A N/A N/A N/A bits N/A y append N/A N/A field value width N/A zip N/A self _field_names row N/A self _widths N/A N/A valign N/A N/A self _valign N/A field N/A lines N/A N/A value split N/A dHeight N/A row_height N/A len lines N/A dHeight N/A N/A N/A valign m N/A N/A lines N/A N/A N/A N/A N/A int N/A dHeight 2 lines N/A N/A N/A dHeight N/A int N/A dHeight 2 N/A N/A N/A valign b N/A N/A lines N/A N/A N/A dHeight lines N/A N/A lines N/A lines N/A N/A dHeight N/A y 0 N/A l lines N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A N/A bits N/A y append N/A N/A N/A lpad N/A N/A self _justify l width N/A N/A self _align N/A field N/A rpad N/A N/A options N/A border N/A N/A N/A N/A options N/A vrules ALL N/A N/A N/A N/A N/A bits N/A y append N/A self vertical_char N/A N/A N/A N/A N/A bits N/A y append N/A y 1 N/A y N/A range 0 row_height N/A N/A N/A N/A options N/A border N/A N/A options N/A vrules FRAME N/A N/A N/A N/A N/A bits N/A y pop N/A N/A N/A N/A bits N/A y append N/A options N/A vertical_char N/A N/A N/A options N/A border N/A N/A options N/A hrules ALL N/A N/A N/A N/A N/A bits N/A N/A row_height 1 append N/A N/A N/A N/A bits N/A N/A row_height 1 append N/A self _hrule N/A y N/A range 0 row_height N/A N/A N/A bits N/A y N/A N/A join N/A bits N/A y N/A N/A N/A join bits N/A get_html_string N/A N/A self N/A kwargs N/A N/A Return string representation of HTML formatted version of table in current state.

        Arguments:

        start - index of first data row to include in output
        end - index of last data row to include in output PLUS ONE (list slice style)
        fields - names of fields (columns) to include
        header - print a header showing field names (True or False)
        border - print a border around the table (True or False)
        hrules - controls printing of horizontal rules after rows.  Allowed values: ALL, FRAME, HEADER, NONE
        vrules - controls printing of vertical rules between columns.  Allowed values: FRAME, ALL, NONE
        int_format - controls formatting of integer data
        float_format - controls formatting of floating point data
        padding_width - number of spaces on either side of column data (only used if left and right paddings are None)
        left_padding_width - number of spaces on left hand side of column data
        right_padding_width - number of spaces on right hand side of column data
        sortby - name of field to sort rows by
        sort_key - sorting key function, applied to data points before sorting
        attributes - dictionary of name/value pairs to include as HTML attributes in the <table> tag
        xhtml - print <br/> tags if True, <br> tags if false N/A options N/A N/A self _get_options kwargs N/A N/A options N/A format N/A N/A string N/A N/A self _get_formatted_html_string options N/A N/A string N/A N/A self _get_simple_html_string options N/A string N/A _get_simple_html_string N/A N/A self options N/A N/A N/A lines N/A N/A N/A options N/A xhtml N/A N/A linebreak <br/> N/A N/A linebreak <br> N/A open_tag N/A N/A N/A N/A open_tag append <table N/A N/A options N/A attributes N/A N/A attr_name N/A options N/A attributes N/A N/A N/A N/A open_tag append N/A  %s="%s" N/A attr_name N/A N/A options N/A attributes N/A attr_name N/A N/A N/A open_tag append > N/A N/A N/A lines append N/A N/A join open_tag N/A N/A options N/A header N/A N/A N/A N/A lines append     <tr> N/A field N/A self _field_names N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A lines append N/A         <th>%s</th> N/A N/A N/A escape field replace linebreak N/A N/A N/A lines append     </tr> N/A rows N/A N/A self _get_rows options N/A formatted_rows N/A N/A self _format_rows rows options N/A row formatted_rows N/A N/A N/A N/A lines append     <tr> N/A N/A field datum N/A zip N/A self _field_names row N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A lines append N/A         <td>%s</td> N/A N/A N/A escape datum replace linebreak N/A N/A N/A lines append     </tr> N/A N/A N/A lines append </table> N/A N/A N/A N/A N/A self _unicode join lines N/A _get_formatted_html_string N/A N/A self options N/A N/A N/A lines N/A N/A N/A lpad rpad N/A N/A self _get_padding_widths options N/A N/A options N/A xhtml N/A N/A linebreak <br/> N/A N/A linebreak <br> N/A open_tag N/A N/A N/A N/A open_tag append <table N/A N/A options N/A border N/A N/A N/A N/A N/A options N/A hrules ALL N/A N/A options N/A vrules ALL N/A N/A N/A N/A open_tag append  frame="box" rules="all" N/A N/A N/A N/A N/A options N/A hrules FRAME N/A N/A options N/A vrules FRAME N/A N/A N/A N/A open_tag append  frame="box" N/A N/A N/A N/A N/A options N/A hrules FRAME N/A N/A options N/A vrules ALL N/A N/A N/A N/A open_tag append  frame="box" rules="cols" N/A N/A N/A N/A options N/A hrules FRAME N/A N/A N/A N/A open_tag append  frame="hsides" N/A N/A N/A N/A options N/A hrules ALL N/A N/A N/A N/A open_tag append  frame="hsides" rules="rows" N/A N/A N/A N/A options N/A vrules FRAME N/A N/A N/A N/A open_tag append  frame="vsides" N/A N/A N/A N/A options N/A vrules ALL N/A N/A N/A N/A open_tag append  frame="vsides" rules="cols" N/A N/A options N/A attributes N/A N/A attr_name N/A options N/A attributes N/A N/A N/A N/A open_tag append N/A  %s="%s" N/A attr_name N/A N/A options N/A attributes N/A attr_name N/A N/A N/A open_tag append > N/A N/A N/A lines append N/A N/A join open_tag N/A N/A options N/A header N/A N/A N/A N/A lines append     <tr> N/A field N/A self _field_names N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A lines append N/A         <th style="padding-left: %dem; padding-right: %dem; text-align: center">%s</th> N/A lpad rpad N/A N/A N/A escape field replace linebreak N/A N/A N/A lines append     </tr> N/A rows N/A N/A self _get_rows options N/A formatted_rows N/A N/A self _format_rows rows options N/A aligns N/A N/A valigns N/A N/A field N/A self _field_names N/A N/A N/A N/A aligns append N/A N/A l r c left right center N/A N/A N/A self _align N/A field N/A N/A N/A valigns append N/A N/A t m b top middle bottom N/A N/A N/A self _valign N/A field N/A row formatted_rows N/A N/A N/A N/A lines append     <tr> N/A N/A field datum align valign N/A zip N/A self _field_names row aligns valigns N/A N/A N/A N/A options N/A fields N/A field N/A options N/A fields N/A N/A N/A N/A N/A lines append N/A         <td style="padding-left: %dem; padding-right: %dem; text-align: %s; vertical-align: %s">%s</td> N/A lpad rpad align valign N/A N/A N/A escape datum replace linebreak N/A N/A N/A lines append     </tr> N/A N/A N/A lines append </table> N/A N/A N/A N/A N/A self _unicode join lines N/A N/A _char_block_width N/A N/A char N/A N/A N/A N/A 33 char 126 N/A N/A 1 N/A N/A 19968 char 40959 N/A N/A 2 N/A N/A 44032 char 55215 N/A N/A 2 N/A N/A N/A unicodedata combining N/A uni_chr char N/A N/A 0 N/A N/A N/A 12352 char 12447 N/A 12448 char 12543 N/A N/A 2 N/A N/A 65281 char 65376 N/A N/A 2 N/A N/A 12288 char 12350 N/A N/A 2 N/A N/A char N/A 8 127 N/A N/A -1 N/A N/A N/A char N/A 0 31 N/A N/A 0 N/A 1 N/A _str_block_width N/A N/A val N/A N/A N/A N/A sum N/A itermap _char_block_width N/A itermap ord N/A N/A _re sub val N/A from_csv N/A N/A fp field_names N/A None kwargs N/A N/A dialect N/A N/A N/A N/A csv Sniffer sniff N/A N/A fp read 1024 N/A N/A N/A fp seek 0 N/A reader N/A N/A csv reader fp dialect N/A table N/A PrettyTable kwargs N/A field_names N/A N/A N/A table field_names field_names N/A N/A py3k N/A N/A N/A table field_names N/A N/A N/A x strip N/A x N/A next reader N/A N/A N/A table field_names N/A N/A N/A x strip N/A x N/A N/A reader next N/A row reader N/A N/A N/A N/A table add_row N/A N/A N/A x strip N/A x row N/A table N/A from_db_cursor N/A N/A cursor N/A kwargs N/A N/A N/A cursor description N/A N/A table N/A PrettyTable kwargs N/A N/A table field_names N/A N/A col N/A 0 N/A col N/A cursor description N/A row N/A N/A cursor fetchall N/A N/A N/A N/A table add_row row N/A table N/A TableHandler N/A HTMLParser N/A __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A HTMLParser __init__ self N/A N/A self kwargs kwargs N/A N/A self tables N/A N/A N/A self last_row N/A N/A N/A self rows N/A N/A N/A self max_row_width 0 N/A N/A self active None N/A N/A self last_content N/A N/A self is_last_row_header False N/A handle_starttag N/A N/A self tag attrs N/A N/A N/A N/A self active tag N/A N/A tag th N/A N/A N/A self is_last_row_header True N/A handle_endtag N/A N/A self tag N/A N/A N/A N/A tag N/A th td N/A N/A stripped_content N/A N/A N/A self last_content strip N/A N/A N/A N/A self last_row append stripped_content N/A N/A tag tr N/A N/A N/A N/A N/A self rows append N/A N/A self last_row N/A self is_last_row_header N/A N/A self max_row_width N/A max N/A self max_row_width N/A len N/A self last_row N/A N/A self last_row N/A N/A N/A self is_last_row_header False N/A N/A tag table N/A N/A table N/A N/A self generate_table N/A self rows N/A N/A N/A N/A self tables append table N/A N/A self rows N/A N/A N/A self last_content N/A N/A self active None N/A handle_data N/A N/A self data N/A N/A N/A N/A self last_content data N/A generate_table N/A N/A self rows N/A N/A N/A 
        Generates from a list of rows a PrettyTable object.
         N/A table N/A PrettyTable N/A self kwargs N/A row N/A self rows N/A N/A N/A N/A len N/A row N/A 0 N/A self max_row_width N/A N/A appends N/A N/A self max_row_width N/A len N/A row N/A 0 N/A i N/A range 1 appends N/A N/A N/A N/A N/A row N/A 0 append - N/A N/A N/A row N/A 1 True N/A N/A N/A N/A self make_fields_unique N/A row N/A 0 N/A N/A table field_names N/A row N/A 0 N/A N/A N/A N/A table add_row N/A row N/A 0 N/A table N/A make_fields_unique N/A N/A self fields N/A N/A N/A 
        iterates over the row and make each field unique
         N/A i N/A range 0 N/A len fields N/A N/A j N/A range N/A i 1 N/A len fields N/A N/A N/A N/A fields N/A i N/A fields N/A j N/A N/A N/A fields N/A j ' N/A N/A from_html N/A N/A html_code N/A kwargs N/A N/A 
    Generates a list of PrettyTables from a string of HTML code. Each <table> in
    the HTML becomes one PrettyTable object.
     N/A parser N/A TableHandler kwargs N/A N/A N/A parser feed html_code N/A N/A parser tables N/A from_html_one N/A N/A html_code N/A kwargs N/A N/A 
    Generates a PrettyTables from a string of HTML code which contains only a
    single <table>
     N/A tables N/A from_html html_code kwargs N/A N/A N/A N/A N/A len tables 1 N/A N/A N/A AssertionError N/A N/A N/A Exception More than one <table> in provided HTML code!  Use from_html instead. N/A N/A tables N/A 0 N/A main N/A N/A N/A N/A N/A x N/A PrettyTable N/A City name Area Population Annual Rainfall N/A N/A x sortby Population N/A N/A x reversesort True N/A N/A N/A x int_format N/A Area 04d N/A N/A x float_format 6.1f N/A N/A N/A x align N/A City name l N/A N/A N/A x add_row N/A Adelaide 1295 1158259 600.5 N/A N/A N/A x add_row N/A Brisbane 5905 1857594 1146.4 N/A N/A N/A x add_row N/A Darwin 112 120900 1714.7 N/A N/A N/A x add_row N/A Hobart 1357 205556 619.5 N/A N/A N/A x add_row N/A Sydney 2058 4336374 1214.8 N/A N/A N/A x add_row N/A Melbourne 1566 3806092 646.9 N/A N/A N/A x add_row N/A Perth 5386 1554769 869.4 N/A x N/A N/A N/A __name__ __main__ N/A N/A N/A main