Module Expr Str ImportFrom alias alias alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Assign NameStore Num FunctionDef arguments args defaults body Return CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad body Return Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad NameLoad Str NameStore body For NameStore NameLoad body If BoolOpAnd UnaryOpNot Call NameLoad NameLoad CompareIn Str NameLoad body If CompareNotIn Str NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListComp NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad body Return ListComp NameLoad comprehension NameStore NameLoad comprehension NameStore NameLoad UnaryOpNot CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str ListLoad Str body Expr Str Return Call NameLoad GeneratorExp BinOpAdd ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad ListLoad AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return IfExp CompareIsNot NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return Str Return BinOpMod Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad BinOpAdd Call NameLoad NameLoad Num orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad While BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr body AugAssignSub NameStore Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Return BinOpMult NameLoad NameLoad orelse If CompareEq NameLoad Str body Return BinOpMult BinOpMult NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Return BinOpMult BinOpMult BinOpMult NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Return BinOpMult BinOpMult BinOpMult BinOpMult NameLoad NameLoad NameLoad NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Return BinOpMult NameLoad Num orelse If CompareEq NameLoad Str body Return BinOpMult BinOpMult NameLoad Num Num orelse If CompareEq NameLoad Str body Return BinOpMult BinOpMult BinOpMult NameLoad Num Num Num orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Slice ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr GeneratorExp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad Return IfExp NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Return BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call NameLoad NameLoad body Return NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If NameLoad body FunctionDef arguments args defaults vararg body Pass decorator_list orelse If CompareIs NameLoad NameLoad body FunctionDef arguments args defaults vararg body Raise decorator_list For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareGt NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpFloorDiv NameLoad Num Expr Call AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpFloorDiv UnaryOpUSub NameLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg body Expr Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameStore body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults vararg body Expr Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameStore body For NameStore NameLoad body Expr Yield Call AttributeLoad NameLoad attr Str Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assert CompareEq NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Str FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareLtELt Num NameLoad BinOpPow Num Num body Raise Call NameLoad BinOpAdd Str Call NameLoad NameLoad Assign NameStore BinOpBitAnd NameLoad Num Assign NameStore BinOpRShift NameLoad Num If CompareEq NameLoad Num body Assign NameStore NameLoad orelse Assert CompareEq NameLoad Num BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Assign NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return IfExp AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad Str Return Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Str Return Assign NameStore SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad BinOpAdd Str Call NameLoad NameLoad Return If NameLoad body Expr Call NameLoad Str Return Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd ListLoad Str Str Str NameLoad keyword NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Num body Expr Call NameLoad Str Return Expr Call NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Str Return decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Dict Assign NameStore Call NameLoad Str keyword NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpOr AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Return NameLoad orelse Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpSub SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Import alias alias alias alias Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr body If CompareNotEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A 
This module contains some useful functions for Strings, XML or Lists.
 __future__ absolute_import division print_function unicode_literals N/A bz2 N/A collections N/A fnmatch N/A glob N/A logging N/A os N/A shutil N/A signal N/A stat N/A subprocess N/A sys N/A time xml.etree ElementTree N/A N/A shlex quote escape_string_shell N/A N/A N/A ImportError N/A pipes quote escape_string_shell N/A N/A N/A read_monotonic_time N/A time monotonic N/A N/A N/A AttributeError N/A N/A read_monotonic_time N/A time time N/A ENERGY_TYPES N/A cpu core uncore external N/A _BYTE_FACTOR 1000 is_windows N/A N/A N/A N/A N/A N/A N/A os name nt N/A force_linux_path N/A N/A path N/A N/A N/A N/A is_windows N/A N/A N/A N/A path replace \ / N/A path N/A printOut N/A N/A value end N/A N/A N/A 
    This function prints the given String immediately and flushes the output.
     N/A N/A N/A N/A sys stdout write value N/A N/A N/A N/A sys stdout write end N/A N/A N/A N/A sys stdout flush N/A is_code N/A N/A filename N/A N/A N/A 
    This function returns True, if  a line of the file contains bracket '{'.
     N/A N/A open filename r file N/A N/A line file N/A N/A N/A N/A N/A is_comment line N/A { line N/A N/A N/A ${ line N/A N/A True N/A False N/A is_comment N/A N/A line N/A N/A N/A N/A N/A line N/A N/A line startswith # N/A N/A line startswith // N/A remove_all N/A N/A list_ elemToRemove N/A N/A N/A N/A elem N/A elem list_ N/A elem elemToRemove N/A flatten N/A N/A iterable exclude N/A N/A N/A N/A N/A value N/A sublist iterable N/A value sublist N/A N/A value exclude N/A get_list_from_xml N/A N/A elem tag attributes N/A option N/A name N/A N/A 
    This function searches for all "option"-tags and returns a list with all attributes and texts.
     N/A N/A flatten N/A N/A N/A N/A N/A option get attr N/A attr attributes N/A N/A option text N/A option N/A N/A elem findall tag exclude N/A None N/A get_single_child_from_xml N/A N/A elem tag N/A N/A N/A 
    Get a single child tag from an XML element.
    Similar to "elem.find(tag)", but warns if there are multiple child tags with the given name.
     N/A children N/A N/A elem findall tag N/A N/A children N/A N/A None N/A N/A N/A len children 1 N/A N/A N/A N/A logging warning Tag "%s" has more than one child tags with name "%s" in input file, ignoring all but the first. N/A elem tag tag N/A N/A children N/A 0 N/A text_or_none N/A N/A elem N/A N/A N/A 
    Retrieve the text content of an XML tag, or None if the element itself is None
     N/A N/A N/A elem None N/A elem text None N/A copy_of_xml_element N/A N/A elem N/A N/A N/A 
    This method returns a shallow copy of a XML-Element.
    This method is for compatibility with Python 2.6 or earlier..
    In Python 2.7 you can use  'copyElem = elem.copy()'  instead.
     N/A copyElem N/A N/A ElementTree Element N/A elem tag N/A elem attrib N/A child elem N/A N/A N/A N/A copyElem append child N/A copyElem N/A decode_to_string N/A N/A toDecode N/A N/A N/A 
    This function is needed for Python 3,
    because a subprocess can return bytes instead of a string.
     N/A N/A N/A N/A N/A toDecode decode utf-8 N/A N/A N/A AttributeError N/A N/A toDecode N/A format_number N/A N/A number number_of_digits N/A N/A N/A 
    The function format_number() return a string-representation of a number
    with a number of digits after the decimal separator.
    If the number has more digits, it is rounded.
    If the number has less digits, zeros are added.

    @param number: the number to format
    @param digits: the number of digits
     N/A N/A number None N/A N/A N/A N/A N/A N/A %.{0}f format number_of_digits number N/A parse_int_list N/A N/A s N/A N/A N/A 
    Parse a comma-separated list of strings.
    The list may additionally contain ranges such as "1-5",
    which will be expanded into "1,2,3,4,5".
     N/A result N/A N/A item N/A N/A s split , N/A N/A item N/A N/A N/A N/A item strip split - N/A N/A N/A len item 1 N/A N/A N/A N/A result append N/A int N/A item N/A 0 N/A N/A N/A N/A len item 2 N/A N/A N/A start end item N/A N/A N/A result extend N/A range N/A int start N/A N/A int end 1 N/A N/A N/A ValueError N/A N/A invalid range: '{0}' format s N/A result N/A split_number_and_unit N/A N/A s N/A N/A N/A Parse a string that consists of a integer number and an optional unit.
    @param s a non-empty string that starts with an int and is followed by some letters
    @return a triple of the number (as int) and the unit
     N/A N/A s N/A N/A N/A ValueError empty value N/A s N/A N/A s strip N/A pos N/A len s N/A N/A pos N/A N/A N/A N/A s N/A N/A pos 1 isdigit N/A N/A pos 1 N/A number N/A int N/A s N/A pos N/A unit N/A N/A N/A s N/A pos strip N/A N/A number unit N/A parse_memory_value N/A N/A s N/A N/A N/A Parse a string that contains a number of bytes, optionally with a unit like MB.
    @return the number of bytes encoded by the string
     N/A N/A number unit N/A split_number_and_unit s N/A N/A N/A unit N/A unit B N/A N/A number N/A N/A N/A unit kB N/A N/A N/A number _BYTE_FACTOR N/A N/A N/A unit MB N/A N/A N/A N/A number _BYTE_FACTOR _BYTE_FACTOR N/A N/A N/A unit GB N/A N/A N/A N/A N/A number _BYTE_FACTOR _BYTE_FACTOR _BYTE_FACTOR N/A N/A N/A unit TB N/A N/A N/A N/A N/A N/A number _BYTE_FACTOR _BYTE_FACTOR _BYTE_FACTOR _BYTE_FACTOR N/A N/A N/A ValueError N/A N/A unknown unit: {} (allowed are B, kB, MB, GB, and TB) format unit N/A parse_timespan_value N/A N/A s N/A N/A N/A Parse a string that contains a time span, optionally with a unit like s.
    @return the number of seconds encoded by the string
     N/A N/A number unit N/A split_number_and_unit s N/A N/A N/A unit N/A unit s N/A N/A number N/A N/A N/A unit min N/A N/A N/A number 60 N/A N/A N/A unit h N/A N/A N/A N/A number 60 60 N/A N/A N/A unit d N/A N/A N/A N/A N/A number 24 60 60 N/A N/A N/A ValueError N/A N/A unknown unit: {} (allowed are s, min, h, and d) format unit N/A expand_filename_pattern N/A N/A pattern base_dir N/A N/A N/A 
    Expand a file name pattern containing wildcards, environment variables etc.

    @param pattern: The pattern string to expand.
    @param base_dir: The directory where relative paths are based on.
    @return: A list of file names (possibly empty).
     N/A pattern N/A N/A N/A os path normpath N/A N/A N/A os path join base_dir pattern N/A pattern N/A N/A N/A os path expandvars N/A N/A N/A os path expanduser pattern N/A fileList N/A N/A glob glob pattern N/A fileList N/A get_files N/A N/A paths N/A N/A N/A changed False N/A result N/A N/A path paths N/A N/A N/A N/A N/A os path isfile path N/A N/A N/A N/A result append path N/A N/A N/A N/A N/A os path isdir path N/A N/A changed True N/A N/A currentPath dirs files N/A N/A os walk path N/A N/A files N/A f N/A f files N/A N/A N/A f startswith . N/A N/A dirs N/A N/A d N/A d dirs N/A N/A N/A d startswith . N/A N/A N/A result extend N/A N/A N/A N/A os path join currentPath f N/A f files N/A N/A changed result paths N/A find_executable N/A N/A program fallback exitOnError N/A None True N/A is_executable N/A N/A programPath N/A N/A N/A N/A N/A N/A N/A os path isfile programPath N/A N/A os access programPath N/A os X_OK N/A N/A dirs N/A N/A N/A N/A os environ N/A PATH split N/A N/A os path pathsep N/A N/A N/A dirs append N/A N/A os path curdir N/A dir_ dirs N/A N/A name N/A N/A N/A os path join dir_ program N/A N/A is_executable name N/A N/A name N/A N/A N/A fallback None N/A is_executable fallback N/A N/A fallback N/A exitOnError N/A N/A N/A N/A sys exit N/A N/A ERROR: Could not find '{0}' executable format program N/A N/A fallback N/A common_base_dir N/A N/A l N/A N/A N/A N/A N/A N/A os path dirname N/A N/A N/A os path commonprefix l N/A log_rmtree_error N/A N/A func arg exc_info N/A N/A N/A Suited as onerror handler for (sh)util.rmtree() that logs a warning. N/A N/A N/A logging warning Failure during '%s(%s)': %s N/A func __name__ arg N/A exc_info N/A 1 N/A rmtree N/A N/A path ignore_errors onerror N/A False None N/A N/A Same as shutil.rmtree, but supports directories without write or execute permissions. N/A ignore_errors N/A onerror N/A N/A N/A args N/A N/A N/A N/A N/A N/A onerror None N/A onerror N/A N/A N/A args N/A N/A N/A N/A N/A root dirs unused_files N/A N/A os walk path N/A N/A directory dirs N/A N/A N/A N/A abs_directory N/A N/A N/A os path join root directory N/A N/A N/A os chmod abs_directory N/A stat S_IRWXU N/A N/A N/A EnvironmentError N/A e N/A N/A N/A onerror N/A os chmod abs_directory e N/A N/A N/A shutil rmtree path ignore_errors ignore_errors onerror onerror N/A copy_all_lines_from_to N/A N/A inputFile outputFile N/A N/A N/A Copy all lines from an input file object to an output file object. N/A currentLine N/A N/A inputFile readline N/A currentLine N/A N/A N/A N/A outputFile write currentLine N/A currentLine N/A N/A inputFile readline N/A write_file N/A N/A content N/A path N/A N/A 
    Simply write some content to a file, overriding the file if necessary.
     N/A N/A open N/A N/A N/A os path join path w file N/A N/A N/A N/A file write content N/A shrink_text_file N/A N/A filename max_size removal_marker N/A None N/A N/A Shrink a text file to approximately maxSize bytes
    by removing lines from the middle of the file.
     N/A file_size N/A N/A N/A os path getsize filename N/A N/A file_size max_size N/A N/A open filename r+b output_file N/A N/A N/A open filename rb input_file N/A N/A N/A N/A output_file seek N/A max_size 2 N/A N/A N/A output_file readline N/A N/A N/A N/A output_file tell file_size N/A N/A N/A removal_marker N/A N/A N/A N/A output_file write N/A N/A removal_marker encode N/A N/A N/A input_file seek N/A N/A max_size 2 N/A os SEEK_END N/A N/A N/A input_file readline N/A N/A copy_all_lines_from_to input_file output_file N/A N/A N/A output_file truncate N/A read_file N/A N/A N/A path N/A N/A 
    Read the full content of a file.
     N/A N/A open N/A N/A N/A os path join path f N/A N/A N/A N/A N/A N/A f read strip N/A read_key_value_pairs_from_file N/A N/A N/A path N/A N/A 
    Read key value pairs from a file (each pair on a separate line).
    Key and value are separated by ' ' as often used by the kernel.
    @return a generator of tuples
     N/A N/A open N/A N/A N/A os path join path f N/A N/A line f N/A N/A N/A N/A N/A line split 1 N/A BZ2FileHack N/A N/A bz2 BZ2File N/A N/A Hack for Python 3.2, where BZ2File cannot be used in a io.TextIOWrapper
    because it lacks several functions.
     __init__ N/A N/A self filename mode N/A args kwargs N/A N/A N/A mode wb N/A N/A N/A N/A bz2 BZ2File __init__ self filename mode args kwargs N/A readable N/A N/A self N/A N/A N/A False N/A seekable N/A N/A self N/A N/A N/A False N/A writable N/A N/A self N/A N/A N/A True N/A flush N/A N/A self N/A N/A N/A N/A N/A N/A ProcessExitCode N/A N/A collections namedtuple ProcessExitCode raw value signal N/A Tuple for storing the exit status indication given by a os.wait() call.
Only value or signal are present, not both
(a process cannot return a value when it is killed by a signal).
 _ProcessExitCode_from_raw N/A N/A cls exitcode N/A N/A N/A N/A N/A 0 exitcode N/A 2 16 N/A N/A N/A ValueError N/A invalid exitcode  N/A str exitcode N/A exitsignal N/A exitcode 127 N/A returnvalue N/A exitcode 8 N/A N/A exitsignal 0 N/A N/A exitsignal None N/A N/A N/A returnvalue 0 N/A N/A N/A returnvalue  N/A str returnvalue , although exitsignal is  N/A str exitsignal N/A returnvalue None N/A N/A cls exitcode returnvalue exitsignal N/A classmethod N/A N/A ProcessExitCode from_raw _ProcessExitCode_from_raw _ProcessExitCode__str__ N/A N/A self N/A N/A N/A N/A N/A self signal N/A exit signal  N/A str N/A self signal N/A return value  N/A str N/A self value N/A N/A N/A ProcessExitCode __str__ _ProcessExitCode__str__ _ProcessExitCode__bool__ N/A N/A self N/A N/A N/A N/A bool N/A N/A self signal N/A self value N/A N/A N/A ProcessExitCode __bool__ _ProcessExitCode__bool__ N/A N/A ProcessExitCode __nonzero__ _ProcessExitCode__bool__ add_files_to_git_repository N/A N/A base_dir files description N/A N/A N/A 
    Add and commit all files given in a list into a git repository in the
    base_dir directory. Nothing is done if the git repository has
    local changes.

    @param files: the files to commit
    @param description: the commit message
     N/A N/A N/A N/A N/A os path isdir base_dir N/A N/A N/A printOut Output path is not a directory, cannot add files to git repository. N/A N/A gitRoot N/A N/A subprocess Popen N/A git rev-parse --show-toplevel cwd base_dir stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A stdout N/A N/A N/A gitRoot communicate N/A 0 N/A N/A N/A gitRoot returncode 0 N/A N/A N/A printOut Cannot commit results to repository: git rev-parse failed, perhaps output path is not a git directory? N/A N/A gitRootDir N/A N/A N/A N/A decode_to_string stdout splitlines N/A 0 N/A gitStatus N/A N/A subprocess Popen N/A git status --porcelain --untracked-files=no cwd gitRootDir stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A gitStatus communicate N/A N/A N/A gitStatus returncode 0 N/A N/A N/A printOut N/A Git status failed! Output was:
 N/A decode_to_string stderr N/A N/A stdout N/A N/A N/A printOut Git repository has local changes, not commiting results. N/A N/A files N/A N/A N/A N/A os path realpath file N/A file files N/A gitAdd N/A N/A subprocess Popen N/A N/A git add -- files cwd gitRootDir N/A N/A N/A N/A gitAdd wait 0 N/A N/A N/A printOut Git add failed, will not commit results! N/A N/A N/A printOut N/A Committing results files to git repository in  gitRootDir N/A gitCommit N/A N/A subprocess Popen N/A git commit --file=- --quiet cwd gitRootDir stdin N/A subprocess PIPE N/A N/A N/A gitCommit communicate N/A N/A description encode UTF-8 N/A N/A N/A gitCommit returncode 0 N/A N/A N/A printOut Git commit failed! N/A N/A measure_energy N/A N/A oldEnergy N/A None N/A N/A 
    returns a dictionary with the currently available values of energy consumptions (like a time-stamp).
    If oldEnergy is not None, the difference (currentValue - oldEnergy) is returned.
     N/A newEnergy N/A N/A executable N/A find_executable read-energy.sh exitOnError False N/A N/A executable None N/A N/A N/A N/A logging debug Energy measurement not available because read-energy.sh could not be found. N/A newEnergy N/A energyType ENERGY_TYPES N/A N/A N/A N/A logging debug Reading %s energy measurement for value. energyType N/A energysh N/A N/A subprocess Popen N/A executable energyType stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A energysh communicate N/A N/A N/A energysh returncode stderr N/A N/A N/A N/A logging debug Error while reading %s energy measurement: retval=%s, out=%s, err=%s energyType N/A energysh returncode stdout stderr N/A N/A N/A N/A newEnergy N/A energyType N/A int stdout N/A N/A N/A ValueError N/A N/A N/A N/A logging debug Invalid value while reading %s energy measurement: %s energyType stdout N/A N/A N/A logging debug Finished reading energy measurements. N/A N/A oldEnergy None N/A N/A newEnergy N/A N/A N/A _energy_difference newEnergy oldEnergy N/A _energy_difference N/A N/A newEnergy oldEnergy N/A N/A N/A 
    returns a dict with (newEnergy - oldEnergy) for each type (=key) of energy,
    but only, if both values exist
     N/A diff N/A N/A key newEnergy N/A N/A N/A key oldEnergy N/A N/A N/A diff N/A key N/A N/A newEnergy N/A key N/A oldEnergy N/A key N/A diff N/A wildcard_match N/A N/A word wildcard N/A N/A N/A N/A word N/A N/A fnmatch fnmatch word wildcard N/A _debug_current_process N/A N/A sig current_frame N/A N/A N/A Interrupt running process, and provide a python prompt for interactive debugging.
    This code is based on http://stackoverflow.com/a/133384/396730
     N/A code traceback readline threading N/A d N/A _frame current_frame N/A N/A N/A d update N/A current_frame f_globals N/A N/A N/A d update N/A current_frame f_locals N/A i N/A N/A code InteractiveConsole d N/A message Signal received : entering python shell.
 N/A threads N/A dict N/A N/A N/A thread ident thread N/A thread N/A N/A threading enumerate N/A current_thread N/A N/A threading current_thread N/A N/A thread_id frame N/A N/A N/A N/A sys _current_frames items N/A N/A N/A N/A current_thread ident thread_id N/A N/A message N/A N/A 
Traceback of thread {}:
 format N/A threads N/A thread_id N/A message N/A N/A join N/A N/A traceback format_stack frame N/A message N/A N/A 
Traceback of current thread {}:
 format current_thread N/A message N/A N/A join N/A N/A traceback format_stack current_frame N/A N/A N/A i interact message N/A activate_debug_shell_on_signal N/A N/A N/A N/A N/A Install a signal handler for USR1 that dumps stack traces
    and gives an interactive debugging shell.
     N/A N/A N/A signal signal N/A signal SIGUSR1 _debug_current_process N/A