Module Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias Import alias Import alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body Print Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str Str Str NameLoad Str Str Lambda arguments args NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call AttributeLoad Call NameLoad NameLoad attr Str comprehension NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Str Assign NameStore ListComp ListComp BoolOpOr NameLoad Str comprehension NameStore NameLoad comprehension NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListComp Call NameLoad ListComp Call NameLoad Call NameLoad NameLoad comprehension NameStore NameLoad comprehension NameStore NameLoad Assign NameStore BinOpMult NameLoad BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad BinOpMult Call NameLoad NameLoad BinOpSub Call NameLoad NameLoad Num Assign NameStore SubscriptLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Print NameLoad NameLoad For NameStore NameLoad body For NameStore NameLoad body Print NameLoad BinOpAdd BinOpAdd NameLoad Call AttributeLoad NameLoad attr ListComp Call NameLoad Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad If BoolOpOr NameLoad NameLoad body Print NameLoad NameLoad Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad Lambda arguments args NameParam NameParam NameParam defaults NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad Str Index CompareGtE BinOpAdd Call NameLoad SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num NameLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Slice BinOpMult NameLoad NameLoad BinOpMult NameLoad BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv BinOpMult Num Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListComp Call AttributeLoad Call AttributeLoad NameLoad attr attr Str comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpAdd ListLoad NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num body Assign NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpAdd ListLoad NameLoad NameLoad orelse Assign NameStore NameLoad For NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body If CompareEq Str SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call NameLoad SubscriptLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr Str Index Num NameLoad handlers ExceptHandler body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict For NameStore Call NameLoad NameLoad body If CompareEq Str SubscriptLoad NameLoad Slice Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Print AttributeLoad NameLoad attr While NameLoad body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Break ExceptHandler type NameLoad body Break ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Call NameLoad NameLoad If AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If UnaryOpNot CompareIn Str NameLoad body Exec Call AttributeLoad Str attr NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore ListLoad Str Str For NameStore NameLoad body If BoolOpAnd CompareIn Str NameLoad UnaryOpNot CompareIn SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Index Num NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Index Num If CompareIn Str NameLoad body For NameStore Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Index Num Str body If CompareIn NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Str orelse TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad NameLoad If UnaryOpNot NameLoad body Return Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Slice Num If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list Expr Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Expr Str Expr Call AttributeLoad NameLoad attr Str orelse If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str body Expr Str Expr Call AttributeLoad NameLoad attr Str orelse Expr Str Print BinOpMult Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad ListLoad body Expr Str Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Break Assign NameStore Call NameLoad Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr orelse Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot CompareIn NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr CompareGt AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Num attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Print Call AttributeLoad Str attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Print Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad NameLoad orelse Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr Str Slice Num For NameStore NameLoad body If CompareGt Call NameLoad NameLoad Call NameLoad NameLoad body For NameStore Call NameLoad BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body If CompareGt Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Print BinOpMult Str BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num For NameStore NameLoad body Print BinOpMod BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body For NameStore SubscriptLoad NameLoad Slice Num body Print BinOpMod BinOpAdd BinOpAdd Str Call NameLoad BinOpAdd SubscriptLoad NameLoad Index Num Num Str TupleLoad Str NameLoad Print decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Print BinOpAdd Str BinOpMult Str Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad Num Print BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Print BinOpMod Str TupleLoad Str NameLoad If CompareGt Call NameLoad NameLoad Num body Print BinOpMod Str TupleLoad Str Str Print BinOpMult Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Num While NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num If CompareNotIn SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Call NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Expr Str Expr Call AttributeLoad NameLoad attr Str orelse If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str body Expr Str Expr Call AttributeLoad NameLoad attr Str orelse Expr Str Print BinOpMult Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Global identifier Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword Dict keyword Dict keyword ListLoad Str keyword Num Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore ListLoad NameLoad Str TryExcept body For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad Str attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Print Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad body If CompareNotEq Call NameLoad NameLoad Num body TryExcept body Print Call AttributeLoad Str attr NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad orelse TryExcept body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Print Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad Expr Str Print Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Print Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Print Str Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Pass decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword ListLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body TryExcept body If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr ListLoad handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad TryExcept body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad Expr Str If AttributeLoad NameLoad attr body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A os N/A sys collections deque N/A string N/A argparse N/A cStringIO N/A operator N/A cPickle pickle collections deque N/A math N/A re N/A cmd N/A readline N/A N/A gluon DAL N/A N/A N/A ImportError N/A err N/A N/A gluon path not found refTable N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self columns None N/A N/A self rows None N/A getcolHeader N/A N/A self colHeader N/A N/A N/A N/A N/A {0} format N/A N/A  |  join N/A N/A N/A string join N/A N/A string strip N/A N/A **{0}** format item N/A item colHeader N/A wrapTable N/A N/A self rows hasHeader headerChar delim justify separateRows prefix postfix wrapfunc N/A False -  |  left False N/A N/A N/A x N/A x N/A rowWrapper N/A N/A row N/A N/A N/A ---
                    newRows is returned like
                            [['w'], ['x'], ['y'], ['z']]
                                                                    --- N/A newRows N/A N/A N/A N/A wrapfunc item split N/A item row N/A N/A self rows newRows N/A ---
                        rowList gives like newRows but
                            formatted like [[w, x, y, z]]
                                                                --- N/A rowList N/A N/A N/A substr N/A substr item N/A item N/A map None newRows N/A rowList N/A N/A logicalRows N/A N/A rowWrapper row N/A row rows N/A columns N/A map None N/A reduce N/A operator add logicalRows N/A N/A self columns columns N/A maxWidths N/A N/A max N/A N/A len N/A str item N/A item column N/A column columns N/A rowSeparator N/A headerChar N/A N/A N/A N/A len prefix N/A len postfix N/A sum maxWidths N/A N/A len delim N/A N/A len maxWidths 1 N/A justify N/A N/A center right left N/A str center N/A str rjust N/A str ljust N/A N/A N/A justify lower N/A output N/A N/A cStringIO StringIO N/A separateRows N/A N/A output rowSeparator N/A physicalRows logicalRows N/A N/A row physicalRows N/A N/A output N/A N/A prefix N/A N/A delim join N/A N/A justify N/A str item width N/A N/A item width N/A zip row maxWidths postfix N/A N/A separateRows hasHeader N/A N/A output rowSeparator N/A hasHeader False N/A N/A N/A output getvalue N/A wrap_onspace N/A N/A self text width N/A N/A N/A N/A reduce N/A N/A N/A line word width N/A width N/A N/A {0}{1}{2} format line N/A N/A N/A N/A N/A len N/A line N/A N/A N/A N/A line rfind 1 N/A len N/A N/A N/A word split 1 N/A 0 width word N/A N/A text split N/A wrap_onspace_strict N/A N/A self text width N/A N/A N/A wordRegex N/A N/A re compile N/A N/A \S{ N/A str width ,} N/A N/A N/A self wrap_onspace N/A N/A wordRegex sub N/A N/A N/A m N/A N/A N/A self wrap_always N/A N/A m group width text width N/A wrap_always N/A N/A self text width N/A N/A N/A N/A N/A join N/A N/A text N/A N/A width i N/A width N/A i 1 N/A i N/A xrange N/A int N/A N/A math ceil N/A N/A 1.0 N/A len text width N/A N/A tableHelper N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self oTable N/A refTable N/A getAsRows N/A N/A self data N/A N/A N/A N/A N/A N/A N/A N/A row strip split , N/A row N/A N/A data splitlines N/A getTable_noWrap N/A N/A self data header N/A None N/A N/A rows N/A N/A self getAsRows data N/A N/A header None N/A N/A hRows N/A N/A header rows N/A N/A hRows rows N/A table N/A N/A N/A self oTable wrapTable hRows hasHeader True N/A table N/A getTable_Wrap N/A N/A self data wrapStyle header width N/A None 65 N/A N/A wrapper None N/A N/A N/A len wrapStyle 1 N/A N/A rows N/A N/A self getAsRows data N/A N/A header None N/A N/A hRows N/A N/A header rows N/A N/A hRows rows N/A wrapper N/A N/A N/A self oTable wrap_always N/A N/A self oTable wrap_onspace N/A N/A self oTable wrap_onspace_strict N/A N/A N/A N/A N/A self oTable wrapTable hRows hasHeader True separateRows True prefix |  postfix  | wrapfunc N/A N/A N/A x N/A N/A wrapper x width N/A N/A N/A N/A self getTable_noWrap data header N/A getAsErrorTable N/A N/A self err N/A N/A N/A N/A N/A self getTable_Wrap err None N/A N/A console N/A N/A __init__ N/A N/A self prompt banner N/A None N/A N/A N/A self prompt prompt N/A N/A self banner banner N/A N/A self commands N/A N/A N/A self commandSort N/A N/A N/A self db None N/A i N/A dir self N/A N/A N/A cmd_ N/A i N/A 4 N/A N/A cmd N/A N/A N/A N/A N/A i split cmd_ N/A 1 lower N/A N/A N/A self commands N/A cmd N/A getattr self i N/A N/A N/A N/A N/A N/A self commandSort append N/A N/A int N/A N/A N/A N/A N/A N/A self commands N/A cmd __doc__ split | N/A 0 cmd N/A N/A N/A N/A N/A N/A N/A N/A self commandSort sort N/A N/A self commandSort N/A N/A i N/A 1 N/A i N/A self commandSort N/A N/A self var_DEBUG False N/A N/A self var_tableStyle N/A N/A self configvars N/A N/A i N/A dir self N/A N/A N/A var_ N/A i N/A 4 N/A N/A var N/A N/A N/A i split var_ N/A 1 N/A N/A N/A self configvars N/A var i N/A setBanner N/A N/A self banner N/A N/A N/A N/A self banner banner N/A execCmd N/A N/A self db N/A N/A N/A N/A self db db N/A N/A self banner N/A True N/A N/A N/A N/A command N/A raw_input N/A self prompt N/A N/A N/A N/A N/A self execCommand command N/A N/A N/A N/A N/A N/A self execute command N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A EOFError N/A N/A N/A N/A Exception N/A a N/A N/A N/A N/A self printError a N/A 

Bye!... N/A N/A N/A sys exit 0 N/A printError N/A N/A self err N/A N/A N/A N/A N/A N/A sys stderr write N/A N/A Error: {0}
 format N/A str err N/A N/A self var_DEBUG N/A N/A N/A execute N/A N/A self cmd N/A N/A N/A N/A N/A N/A N/A -table  cmd N/A N/A N/A N/A {0} format cmd N/A N/A file None N/A table None N/A fields N/A N/A items N/A N/A string split cmd N/A invalidParams N/A N/A table N/A N/A self getTable N/A items N/A 1 N/A allowedParams N/A fields file N/A i items N/A N/A N/A N/A = i N/A N/A N/A N/A N/A string split i = N/A 0 allowedParams N/A N/A N/A N/A N/A N/A invalidParams append i N/A N/A N/A Exception N/A err N/A N/A N/A Exception N/A N/A invalid parameter
{0} format i N/A N/A N/A file= i N/A N/A file N/A N/A N/A os path abspath N/A N/A string strip N/A N/A N/A string split i = N/A 1 N/A N/A fields= i N/A N/A field N/A N/A string split N/A N/A N/A string split i = N/A 1 , N/A N/A N/A field N/A N/A N/A self db N/A table fields N/A N/A N/A N/A fields append N/A N/A string strip field N/A N/A N/A len invalidParams 0 N/A N/A N/A N/A the following parameter(s) is not valid
{0} format N/A N/A string join invalidParams , N/A N/A N/A N/A N/A N/A self cmd_table table file fields N/A N/A N/A Exception N/A err N/A N/A N/A N/A could not generate table for table {0}
{1} format table err N/A N/A N/A Exception N/A err N/A N/A N/A N/A sorry, can not do that!
{0} format err N/A getTable N/A N/A self tbl N/A N/A N/A mTbl N/A db tables N/A N/A N/A tbl mTbl N/A N/A N/A N/A mTbl startswith tbl N/A N/A mTbl N/A execCommand N/A N/A self cmd N/A N/A N/A words N/A N/A cmd split N/A words N/A i N/A i words i N/A N/A words N/A N/A N/A N/A cmd parameters N/A N/A N/A N/A words N/A 0 lower N/A words N/A 1 N/A N/A N/A cmd N/A self commands N/A N/A N/A Exception N/A N/A Command {0} not found. Try 'help'
 format cmd N/A N/A N/A N/A self commands N/A cmd parameters N/A N/A ---
             DEFAULT COMMANDS (begins with cmd_)
                                                     --- cmd_clear N/A N/A self numlines N/A 100 N/A N/A -5|clear|clear the screen N/A N/A N/A os name posix N/A N/A ---
                        Unix/Linux/MacOS/BSD/etc
                                                    --- N/A N/A N/A os system clear N/A N/A N/A N/A os name N/A nt dos ce N/A N/A ---
                        Windows
                                        --- N/A N/A N/A os system CLS N/A N/A ---
                     Fallback for other operating systems.
                                                             --- N/A N/A numlines N/A cmd_table N/A N/A self tbl file fields N/A None N/A N/A N/A -4|-table [TABLENAME] optional[file=None] [fields=None]|the default tableStyle is no_wrap - use the 'set x y' command to change the style
style choices:
	wrap_always
	wrap_onspace
	wrap_onspace_strict
	no_wrap (value '')

	 the 2nd optional param is a path to a file where the table will be written
	 the 3rd optional param is a list of fields you want displayed
 N/A table None N/A mTbl N/A db tables N/A N/A N/A tbl mTbl N/A N/A N/A N/A mTbl startswith tbl N/A N/A table mTbl N/A N/A oTable N/A tableHelper N/A ---
                tablestyle:
                        wrap_always
                            wrap_onspace
                                wrap_onspace_strict
                    or set set to "" for no wrapping
                                                                                    --- N/A tableStyle N/A self var_tableStyle N/A filedNotFound N/A N/A table_fields None N/A N/A N/A len fields 0 N/A N/A table_fields N/A N/A N/A self db N/A table fields N/A N/A table_fields fields N/A field fields N/A N/A N/A N/A field N/A N/A N/A self db N/A table fields N/A N/A N/A N/A filedNotFound append field N/A N/A N/A len filedNotFound 0 N/A N/A rows N/A N/A N/A N/A self db N/A N/A N/A N/A self db N/A table id 0 select N/A rows_data N/A N/A row rows N/A N/A rowdata N/A N/A f table_fields N/A N/A N/A N/A rowdata append N/A N/A {0} format N/A row N/A f N/A N/A N/A rows_data append N/A N/A string join rowdata , N/A data N/A N/A string join rows_data N/A dataTable N/A N/A oTable getTable_Wrap data tableStyle table_fields N/A N/A N/A TABLE {0}
{1} format table dataTable N/A N/A file None N/A N/A N/A N/A N/A tail head N/A N/A N/A os path split file N/A N/A N/A N/A N/A os makedirs tail N/A N/A N/A N/A do nothing, folders exist N/A oFile N/A open file w N/A N/A N/A oFile write N/A N/A TABLE: {0}
{1} format table dataTable N/A N/A N/A oFile close N/A N/A N/A {0} has been created and populated with all available data from table {1}
 format file table N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not create table {0}
{1} format table err N/A N/A N/A N/A the following fields are not valid [{0}] format N/A N/A string join filedNotFound , N/A cmd_help N/A N/A self N/A args N/A N/A -3|help|Show's help N/A alldata N/A N/A lengths N/A N/A i N/A self commandSort N/A N/A N/A N/A alldata append N/A N/A N/A N/A N/A N/A self commands N/A i __doc__ split | N/A 1 N/A i alldata N/A N/A N/A N/A len i N/A len lengths N/A N/A j N/A range N/A N/A len i N/A len lengths N/A N/A N/A N/A lengths append 0 N/A j 0 N/A N/A j N/A len i N/A N/A N/A N/A len N/A i N/A j N/A lengths N/A j N/A N/A N/A lengths N/A j N/A len N/A i N/A j N/A j 1 N/A N/A - N/A N/A N/A lengths N/A 0 N/A lengths N/A 1 4 N/A i alldata N/A N/A N/A N/A N/A N/A N/A %- N/A str N/A lengths N/A 0 s  - %- N/A str N/A lengths N/A 1 s N/A N/A i N/A 0 N/A i N/A 1 N/A N/A N/A len i 2 N/A N/A j N/A i N/A 2 N/A N/A N/A N/A N/A % N/A str N/A N/A lengths N/A 0 9 s* %s N/A j N/A N/A cmd_vars N/A N/A self N/A args N/A N/A -2|vars|Show variables N/A N/A variables
 N/A - 79 N/A N/A i j N/A N/A N/A self configvars items N/A N/A value N/A N/A self parfmt N/A repr N/A getattr self j 52 N/A N/A | %20s | %52s | N/A i N/A value N/A 0 N/A k N/A value N/A 1 N/A N/A N/A | %20s | %52s | N/A k N/A N/A N/A len value 1 N/A N/A N/A | %20s | %52s | N/A N/A N/A - 79 N/A parfmt N/A N/A self txt width N/A N/A N/A res N/A N/A pos 0 N/A True N/A N/A a N/A txt N/A pos N/A pos width N/A N/A a N/A N/A N/A N/A N/A res append a N/A pos width N/A res N/A cmd_set N/A N/A self N/A args N/A N/A -1|set [variable_name] [value]|Set configuration variable value|Values are an expressions (100 | string.lower('ABC') | etc. N/A value N/A N/A join N/A args N/A 1 N/A N/A N/A args N/A 0 N/A self configvars N/A N/A N/A setattr self N/A N/A var_{0} format N/A args N/A 0 N/A eval value N/A N/A setattr self N/A N/A var_{0} format N/A args N/A 0 N/A eval value N/A cmd_clearscreen N/A N/A self numlines N/A 50 N/A N/A ---Clear the console.
                                    --- N/A N/A N/A os name posix N/A N/A ---
                        Unix/Linux/MacOS/BSD/etc
                                                    --- N/A N/A N/A os system clear N/A N/A N/A N/A os name N/A nt dos ce N/A N/A ---
                        Windows
                                        --- N/A N/A N/A os system CLS N/A N/A ---
                     Fallback for other operating systems.
                                                             --- N/A N/A numlines N/A N/A dalShell N/A console N/A __init__ N/A N/A self N/A N/A N/A N/A shell N/A N/A self db N/A N/A N/A N/A N/A console __init__ self prompt >>>  banner dal interactive shell N/A N/A N/A self execCmd db N/A N/A setCopyDB N/A N/A __init__ N/A N/A self N/A N/A N/A ---
                non source or target specific vars
                                                        --- N/A N/A self strModel None N/A N/A self dalPath None N/A N/A self db None N/A ---
                    source vars
                                    --- N/A N/A self sourceModel None N/A N/A self sourceFolder None N/A N/A self sourceConnectionString None N/A N/A self sourcedbType None N/A N/A self sourcedbName None N/A ---
                    target vars
                                    --- N/A N/A self targetdbType None N/A N/A self targetdbName None N/A N/A self targetModel None N/A N/A self targetFolder None N/A N/A self targetConnectionString None N/A N/A self truncate False N/A _getDal N/A N/A self N/A N/A N/A mDal None N/A N/A N/A self dalPath None N/A N/A DAL N/A N/A N/A N/A sys path append N/A self dalPath N/A mDal N/A __import__ dal globals N/A locals N/A fromlist N/A DAL level 0 N/A DAL N/A mDal DAL N/A mDal N/A instDB N/A N/A self storageFolder storageConnectionString autoImport N/A N/A N/A N/A self db N/A DAL storageConnectionString folder N/A N/A N/A os path abspath storageFolder auto_import autoImport N/A N/A self db N/A delete_DB_tables N/A N/A self storageFolder storageType N/A N/A N/A N/A N/A delete_DB_tablesn
	{0}
	{1} format storageFolder storageType N/A dataFiles N/A storageType sql.log N/A N/A N/A f N/A N/A os listdir storageFolder N/A N/A N/A .table f N/A N/A fTable N/A N/A {0}/{1} format storageFolder f N/A N/A N/A os remove fTable N/A N/A N/A deleted {0} format fTable N/A dFile dataFiles N/A N/A N/A N/A os remove N/A N/A {0}/{1} format storageFolder dFile N/A N/A N/A deleted {0} format N/A N/A {0}/{1} format storageFolder dFile N/A N/A N/A Exception N/A errObj N/A N/A N/A str errObj N/A truncatetables N/A N/A self tables N/A N/A N/A N/A N/A N/A len tables 0 N/A N/A N/A N/A N/A N/A table value: {0} format tables N/A tbl N/A N/A self db tables N/A N/A mTbl tables N/A N/A N/A N/A mTbl startswith tbl N/A N/A N/A N/A N/A N/A self db N/A mTbl truncate N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: {0} format err N/A N/A N/A N/A tbl N/A N/A self db tables N/A N/A N/A N/A N/A N/A self db N/A tbl truncate N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: {0} format err N/A copyDB N/A N/A self N/A N/A N/A other_db N/A DAL N/A N/A {0}://{1} format N/A self targetdbType N/A self targetdbName folder N/A self targetFolder N/A creating tables... N/A table N/A self db N/A N/A N/A N/A other_db define_table N/A table _tablename N/A field N/A field table N/A 
            should there be an option to truncAte target DB?
            if yes, then change args to allow for choice
            and set self.trancate to the art value

            if self.truncate==True:
                other_db[table._tablename].truncate()
             N/A exporting data... N/A N/A N/A N/A self db export_to_csv_file N/A open tmp.sql wb N/A importing data... N/A N/A N/A other_db import_from_csv_file N/A open tmp.sql rb N/A N/A N/A other_db commit N/A done! N/A Attention: do not run this program again or you end up with duplicate records N/A createfolderPath N/A N/A self folder N/A N/A N/A N/A N/A N/A folder None N/A N/A N/A N/A os makedirs folder N/A N/A N/A Exception N/A err N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A oCopy N/A setCopyDB N/A db None N/A targetDB None N/A dbfolder None N/A clean False N/A model None N/A truncate False N/A parser N/A N/A argparse ArgumentParser description samplecmd line:
-f ./blueLite/db_storage -i -y sqlite://storage.sqlite -Y sqlite://storage2.sqlite -d ./blueLite/pyUtils/sql/blueSQL -t True epilog N/A reqGroup N/A N/A parser add_argument_group Required arguments N/A N/A N/A reqGroup add_argument -f --sourceFolder required True help path to the 'source' folder of the 'source' DB N/A N/A N/A reqGroup add_argument -F --targetFolder required False help path to the 'target' folder of the 'target' DB N/A N/A N/A reqGroup add_argument -y --sourceConnectionString required True help source db connection string ()
------------------------------------------------
sqlite://storage.db
mysql://username:password@localhost/test
postgres://username:password@localhost/test
mssql://username:password@localhost/test
firebird://username:password@localhost/test
oracle://username/password@test
db2://username:password@test
ingres://username:password@localhost/test
informix://username:password@test
------------------------------------------------ N/A N/A N/A reqGroup add_argument -Y --targetConnectionString required True help target db type (sqlite,mySql,etc.) N/A autoImpGroup N/A N/A parser add_argument_group optional args (auto_import) N/A N/A N/A autoImpGroup add_argument -a --autoimport required False help set to True to bypass loading of the model N/A 

    *** removing -m/-M options for now --> i need a
            better regex to match db.define('bla')...with optional db.commit()

    modelGroup=parser.add_argument_group('optional args (create model)')
    modelGroup.add_argument('-m','--sourcemodel'                         ,required=False                         ,help='to create a model from an existing model, point to the source model')
    modelGroup.add_argument('-M','--targetmodel'                         ,required=False                         ,help='to create a model from an existing model, point to the target model')

     N/A miscGroup N/A N/A parser add_argument_group optional args/tasks N/A N/A N/A miscGroup add_argument -i --interactive required False action store_true help run in interactive mode N/A N/A N/A miscGroup add_argument -d --dal required False help path to dal.py N/A N/A N/A miscGroup add_argument -t --truncate choices N/A True False help delete the records but *not* the table of the SOURCE DB N/A N/A N/A miscGroup add_argument -b --tables required False type list help optional list (comma delimited) of SOURCE tables to truncate, defaults to all N/A N/A N/A miscGroup add_argument -c --clean required False help delete the DB,tables and the log file, WARNING: this is unrecoverable N/A args N/A N/A parser parse_args N/A db None N/A mDal None N/A N/A N/A N/A oCopy sourceFolder N/A args sourceFolder N/A N/A oCopy targetFolder N/A args sourceFolder N/A sourceItems N/A N/A string split N/A args sourceConnectionString :// N/A N/A oCopy sourcedbType N/A sourceItems N/A 0 N/A N/A oCopy sourcedbName N/A sourceItems N/A 1 N/A targetItems N/A N/A string split N/A args targetConnectionString :// N/A N/A oCopy targetdbType N/A targetItems N/A 0 N/A N/A oCopy targetdbName N/A targetItems N/A 1 N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: {0} format err N/A N/A args dal N/A N/A N/A N/A autoImport True N/A N/A args autoimport N/A N/A autoImport N/A args autoimport N/A N/A oCopy dalPath N/A args dal N/A mDal N/A N/A oCopy _getDal N/A db N/A N/A oCopy instDB N/A args sourceFolder N/A args sourceConnectionString autoImport N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not set DAL
{0} format err N/A N/A args truncate N/A N/A N/A N/A N/A args truncate N/A N/A N/A args tables N/A N/A tables N/A N/A string split N/A N/A string strip N/A args tables , N/A N/A N/A N/A oCopy truncatetables N/A N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not truncate tables
{0} format err N/A N/A N/A N/A args clean N/A N/A N/A N/A oCopy delete_DB_tables N/A oCopy targetFolder N/A oCopy targetType N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not clean db
{0} format err N/A 
    *** goes with -m/-M options... removed for now

    if args.sourcemodel:
        try:
            oCopy.sourceModel=args.sourcemodel
            oCopy.targetModel=args.sourcemodel
            oCopy.createModel()
        except Exception, err:
            print('EXCEPTION: could not create model
source model: {0}
target model: {1}
{2}'.format(args.sourcemodel,args.targetmodel,err))
     N/A N/A args sourceFolder N/A N/A N/A N/A N/A oCopy sourceFolder N/A N/A N/A os path abspath N/A args sourceFolder N/A N/A N/A oCopy createfolderPath N/A oCopy sourceFolder N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not create folder path
{0} format err N/A N/A N/A oCopy dbStorageFolder N/A N/A N/A os path abspath N/A N/A os getcwd N/A N/A args targetFolder N/A N/A N/A N/A N/A oCopy targetFolder N/A N/A N/A os path abspath N/A args targetFolder N/A N/A N/A oCopy createfolderPath N/A oCopy targetFolder N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not create folder path
{0} format err N/A N/A N/A args interactive N/A N/A N/A N/A N/A N/A oCopy copyDB N/A N/A N/A Exception N/A err N/A N/A N/A N/A EXCEPTION: could not make a copy of the database
{0} format err N/A N/A s N/A dalShell N/A N/A N/A s shell db