Module Expr Str Import alias Import alias Import alias Assign NameStore CompareGt AttributeLoad NameLoad attr Str If NameLoad body Pass orelse Import alias Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Raise Call NameLoad BinOpMod Str NameLoad While NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq NameLoad Str body Return SubscriptLoad NameLoad Index NameLoad orelse If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list
N/A N/A 
complexity.utils
----------------

Helper functions used throughout Complexity.
 N/A errno N/A os N/A sys N/A PY3 N/A N/A sys version 3 N/A PY3 N/A N/A N/A N/A codecs N/A input raw_input make_sure_path_exists N/A N/A path N/A N/A N/A 
    Ensures that a directory exists.

    :param path: A directory path.
     N/A N/A N/A N/A N/A os makedirs path N/A N/A N/A OSError N/A exception N/A N/A N/A N/A exception errno N/A errno EEXIST N/A N/A False N/A True N/A unicode_open N/A N/A filename N/A args kwargs N/A N/A 
    Opens a file as usual on Python 3, and with UTF-8 encoding on Python 2.

    :param filename: Name of file to open.
     N/A PY3 N/A N/A N/A open filename args kwargs N/A N/A kwargs N/A encoding utf-8 N/A N/A N/A codecs open filename args kwargs N/A query_yes_no N/A N/A question default N/A yes N/A N/A 
    Ask a yes/no question via `raw_input()` and return their answer.

    :param question: A string that is presented to the user.
    :param default: The presumed answer if the user just hits <Enter>.
        It must be "yes" (the default), "no" or None (meaning
        an answer is required of the user).

    The "answer" return value is one of "yes" or "no".

    Adapted from
    http://stackoverflow.com/questions/3041986/python-command-line-yes-no-input
    http://code.activestate.com/recipes/577058/

     N/A valid N/A yes y ye no n True True True False False N/A N/A default None N/A N/A prompt  [y/n]  N/A N/A N/A default yes N/A N/A prompt  [Y/n]  N/A N/A N/A default no N/A N/A prompt  [y/N]  N/A N/A N/A ValueError N/A invalid default answer: '%s' default N/A True N/A N/A N/A N/A N/A sys stdout write N/A question prompt N/A choice N/A N/A N/A input lower N/A N/A N/A default None N/A choice N/A N/A N/A valid N/A default N/A N/A N/A choice valid N/A N/A N/A valid N/A choice N/A N/A N/A N/A N/A sys stdout write Please respond with 'yes' or 'no' (or 'y' or 'n').
 N/A