Module Expr Str Import alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults BinOpMult Num Num body Expr Str While Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad For NameStore ListLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad With Call NameLoad NameLoad Str NameStore body With Call NameLoad NameLoad Str NameStore body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad NameLoad Str body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Continue Expr Call NameLoad NameLoad NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call NameLoad NameLoad If NameLoad body Raise Call NameLoad NameLoad 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 TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Return Assign NameStore ListLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Num If Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad orelse TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Num Num NameLoad NameLoad NameLoad body Expr Str Assign NameStore Dict Str NameLoad Str Str Assign NameStore Dict Str Str If NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str SubscriptLoad NameLoad Index NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign NameStore Str orelse Assign NameStore Str ImportFrom alias ImportFrom alias TryExcept body Expr Call NameLoad ListLoad Str NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Raise BinOpMod Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Expr Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Dict Str Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str Str Str TupleLoad NameLoad ListLoad TupleLoad Str NameLoad Str TupleLoad NameLoad ListLoad Str If NameLoad body Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad ListLoad TupleLoad Str Str Str FunctionDef arguments args defaults body Expr Str Assign NameStore ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad Str For NameStore NameLoad body If BoolOpOr UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num Num NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareNotEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad TryFinally body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad finalbody If CompareIsNot NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Expr Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body For NameStore Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpOr Call AttributeLoad NameLoad attr Str CompareIn Str NameLoad body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Continue Expr Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr Delete NameDel finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Dict Str Str Str TupleLoad ListLoad Str Str NameLoad ListLoad Str TupleLoad ListLoad Str NameLoad ListLoad Str TupleLoad ListLoad Str NameLoad ListLoad Str If NameLoad body Assign SubscriptStore NameLoad Index Str TupleLoad ListLoad Str NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index Num body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A Utility functions for copying and archiving files and directory trees.

XXX The functions here don't copy the resource fork or other metadata on Mac.

 N/A os N/A sys N/A stat os.path abspath N/A fnmatch N/A collections N/A errno N/A tarfile N/A N/A N/A bz2 N/A _BZ2_SUPPORTED True N/A N/A N/A ImportError N/A N/A _BZ2_SUPPORTED False N/A N/A pwd getpwnam N/A N/A N/A ImportError N/A N/A getpwnam None N/A N/A grp getgrnam N/A N/A N/A ImportError N/A N/A getgrnam None N/A __all__ N/A copyfileobj copyfile copymode copystat copy copy2 copytree move rmtree Error SpecialFileError ExecError make_archive get_archive_formats register_archive_format unregister_archive_format get_unpack_formats register_unpack_format unregister_unpack_format unpack_archive ignore_patterns Error N/A EnvironmentError N/A N/A N/A SpecialFileError N/A EnvironmentError N/A N/A Raised when trying to do a kind of operation (e.g. copying) which is
    not supported on a special file (e.g. a named pipe) N/A ExecError N/A EnvironmentError N/A N/A Raised when a command could not be executed N/A ReadError N/A EnvironmentError N/A N/A Raised when an archive cannot be read N/A RegistryError N/A Exception N/A N/A Raised when a registery operation with the archiving
    and unpacking registeries fails N/A N/A N/A N/A WindowsError N/A N/A N/A NameError N/A N/A WindowsError None copyfileobj N/A N/A fsrc fdst length N/A N/A 16 1024 N/A N/A copy data from file-like object fsrc to file-like object fdst N/A 1 N/A N/A buf N/A N/A fsrc read length N/A N/A buf N/A N/A N/A N/A N/A fdst write buf N/A _samefile N/A N/A src dst N/A N/A N/A N/A hasattr N/A os path samefile N/A N/A N/A N/A N/A N/A N/A os path samefile src dst N/A N/A N/A OSError N/A N/A False N/A N/A N/A N/A N/A os path normcase N/A N/A N/A os path abspath src N/A N/A N/A os path normcase N/A N/A N/A os path abspath dst N/A copyfile N/A N/A src dst N/A N/A N/A Copy data from src to dst N/A N/A _samefile src dst N/A N/A N/A Error N/A `%s` and `%s` are the same file N/A src dst N/A fn N/A src dst N/A N/A N/A N/A st N/A N/A os stat fn N/A N/A N/A OSError N/A N/A N/A N/A N/A N/A stat S_ISFIFO N/A st st_mode N/A N/A N/A SpecialFileError N/A `%s` is a named pipe fn N/A N/A open src rb fsrc N/A N/A N/A open dst wb fdst N/A N/A N/A copyfileobj fsrc fdst N/A copymode N/A N/A src dst N/A N/A N/A Copy mode bits from src to dst N/A N/A hasattr os chmod N/A N/A st N/A N/A os stat src N/A mode N/A N/A stat S_IMODE N/A st st_mode N/A N/A N/A os chmod dst mode N/A copystat N/A N/A src dst N/A N/A N/A Copy all stat info (mode bits, atime, mtime, flags) from src to dst N/A st N/A N/A os stat src N/A mode N/A N/A stat S_IMODE N/A st st_mode N/A N/A hasattr os utime N/A N/A N/A N/A os utime dst N/A N/A st st_atime N/A st st_mtime N/A N/A hasattr os chmod N/A N/A N/A N/A os chmod dst mode N/A N/A N/A hasattr os chflags N/A hasattr st st_flags N/A N/A N/A N/A N/A N/A os chflags dst N/A st st_flags N/A N/A N/A OSError N/A why N/A N/A N/A N/A N/A hasattr errno EOPNOTSUPP N/A N/A why errno N/A errno EOPNOTSUPP N/A N/A N/A copy N/A N/A src dst N/A N/A N/A Copy data and mode bits ("cp src dst").

    The destination may be a directory.

     N/A N/A N/A N/A os path isdir dst N/A N/A dst N/A N/A N/A os path join dst N/A N/A N/A os path basename src N/A N/A copyfile src dst N/A N/A copymode src dst N/A copy2 N/A N/A src dst N/A N/A N/A Copy data and all stat info ("cp -p src dst").

    The destination may be a directory.

     N/A N/A N/A N/A os path isdir dst N/A N/A dst N/A N/A N/A os path join dst N/A N/A N/A os path basename src N/A N/A copyfile src dst N/A N/A copystat src dst N/A ignore_patterns N/A N/A N/A patterns N/A N/A Function that can be used as copytree() ignore parameter.

    Patterns is a sequence of glob-style patterns
    that are used to exclude files _ignore_patterns N/A N/A path names N/A N/A N/A ignored_names N/A N/A pattern patterns N/A N/A N/A N/A ignored_names extend N/A N/A fnmatch filter names pattern N/A N/A set ignored_names N/A N/A _ignore_patterns N/A copytree N/A N/A src dst symlinks ignore copy_function ignore_dangling_symlinks N/A False None copy2 False N/A N/A Recursively copy a directory tree.

    The destination directory must not already exist.
    If exception(s) occur, an Error is raised with a list of reasons.

    If the optional symlinks flag is true, symbolic links in the
    source tree result in symbolic links in the destination tree; if
    it is false, the contents of the files pointed to by symbolic
    links are copied. If the file pointed by the symlink doesn't
    exist, an exception will be added in the list of errors raised in
    an Error exception at the end of the copy process.

    You can set the optional ignore_dangling_symlinks flag to true if you
    want to silence this exception. Notice that this has no effect on
    platforms that don't support os.symlink.

    The optional ignore argument is a callable. If given, it
    is called with the `src` parameter, which is the directory
    being visited by copytree(), and `names` which is the list of
    `src` contents, as returned by os.listdir():

        callable(src, names) -> ignored_names

    Since copytree() is called recursively, the callable will be
    called once for each directory that is copied. It returns a
    list of names relative to the `src` directory that should
    not be copied.

    The optional copy_function argument is a callable that will be used
    to copy each file. It will be called with the source path and the
    destination path as arguments. By default, copy2() is used, but any
    function that supports the same signature (like copy()) can be used.

     N/A names N/A N/A os listdir src N/A N/A ignore None N/A N/A ignored_names N/A ignore src names N/A N/A ignored_names N/A set N/A N/A N/A os makedirs dst N/A errors N/A N/A name names N/A N/A N/A name ignored_names N/A N/A N/A srcname N/A N/A N/A os path join src name N/A dstname N/A N/A N/A os path join dst name N/A N/A N/A N/A N/A N/A os path islink srcname N/A N/A linkto N/A N/A os readlink srcname N/A symlinks N/A N/A N/A N/A os symlink linkto dstname N/A N/A N/A N/A N/A N/A N/A os path exists linkto ignore_dangling_symlinks N/A N/A N/A N/A copy_function srcname dstname N/A N/A N/A N/A N/A os path isdir srcname N/A N/A N/A copytree srcname dstname symlinks ignore copy_function N/A N/A N/A copy_function srcname dstname N/A N/A N/A Error N/A err N/A N/A N/A N/A errors extend N/A N/A err args N/A 0 N/A N/A EnvironmentError N/A why N/A N/A N/A N/A errors append N/A srcname dstname N/A str why N/A N/A N/A N/A copystat src dst N/A N/A N/A OSError N/A why N/A N/A N/A N/A WindowsError None N/A isinstance why WindowsError N/A N/A N/A N/A N/A N/A errors extend N/A src dst N/A str why N/A errors N/A N/A N/A Error errors N/A rmtree N/A N/A path ignore_errors onerror N/A False None N/A N/A Recursively delete a directory tree.

    If ignore_errors is set, errors are ignored; otherwise, if onerror
    is set, it is called to handle the error with arguments (func,
    path, exc_info) where func is os.listdir, os.remove, or os.rmdir;
    path is the argument to that function that caused it to fail; and
    exc_info is a tuple returned by sys.exc_info().  If ignore_errors
    is false and onerror is None, an exception is raised.

     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 N/A N/A N/A N/A os path islink path N/A N/A N/A OSError Cannot call rmtree on a symbolic link N/A N/A N/A OSError N/A N/A N/A onerror N/A N/A os path islink path N/A N/A sys exc_info N/A N/A names N/A N/A N/A N/A names N/A N/A os listdir path N/A N/A N/A N/A os error N/A N/A N/A onerror N/A os listdir path N/A N/A sys exc_info N/A name names N/A N/A fullname N/A N/A N/A os path join path name N/A N/A N/A mode N/A N/A N/A os lstat fullname st_mode N/A N/A N/A N/A os error N/A N/A mode 0 N/A N/A N/A stat S_ISDIR mode N/A N/A N/A rmtree fullname ignore_errors onerror N/A N/A N/A N/A N/A N/A os remove fullname N/A N/A N/A N/A os error N/A N/A N/A onerror N/A os remove fullname N/A N/A sys exc_info N/A N/A N/A N/A N/A os rmdir path N/A N/A N/A N/A os error N/A N/A N/A onerror N/A os rmdir path N/A N/A sys exc_info N/A _basename N/A N/A path N/A N/A N/A N/A N/A N/A os path basename N/A N/A path rstrip N/A N/A os path sep N/A move N/A N/A src dst N/A N/A N/A Recursively move a file or directory to another location. This is
    similar to the Unix "mv" command.

    If the destination is a directory or a symlink to a directory, the source
    is moved inside the directory. The destination path must not already
    exist.

    If the destination already exists but is not a directory, it may be
    overwritten depending on os.rename() semantics.

    If the destination is on our current filesystem, then rename() is used.
    Otherwise, src is copied to the destination and then removed.
    A lot more could be done here...  A look at a mv.c shows a lot of
    the issues this implementation glosses over.

     N/A real_dst dst N/A N/A N/A N/A os path isdir dst N/A N/A N/A _samefile src dst N/A N/A N/A N/A os rename src dst N/A N/A real_dst N/A N/A N/A os path join dst N/A _basename src N/A N/A N/A N/A os path exists real_dst N/A N/A N/A Error N/A Destination path '%s' already exists real_dst N/A N/A N/A N/A N/A os rename src real_dst N/A N/A N/A OSError N/A N/A N/A N/A N/A os path isdir src N/A N/A N/A _destinsrc src dst N/A N/A N/A Error N/A Cannot move a directory '%s' into itself '%s'. N/A src dst N/A N/A copytree src real_dst symlinks True N/A N/A rmtree src N/A N/A N/A copy2 src real_dst N/A N/A N/A os unlink src N/A _destinsrc N/A N/A src dst N/A N/A N/A src N/A abspath src N/A dst N/A abspath dst N/A N/A N/A N/A src endswith N/A N/A os path sep N/A N/A src N/A N/A os path sep N/A N/A N/A N/A dst endswith N/A N/A os path sep N/A N/A dst N/A N/A os path sep N/A N/A N/A dst startswith src N/A _get_gid N/A N/A name N/A N/A N/A Returns a gid, given a group name. N/A N/A N/A getgrnam None N/A name None N/A N/A None N/A N/A N/A result N/A getgrnam name N/A N/A N/A KeyError N/A N/A result None N/A N/A result None N/A N/A N/A result N/A 2 N/A None N/A _get_uid N/A N/A name N/A N/A N/A Returns an uid, given a user name. N/A N/A N/A getpwnam None N/A name None N/A N/A None N/A N/A N/A result N/A getpwnam name N/A N/A N/A KeyError N/A N/A result None N/A N/A result None N/A N/A N/A result N/A 2 N/A None N/A _make_tarball N/A N/A base_name base_dir compress verbose dry_run owner group logger N/A gzip 0 0 None None None N/A N/A Create a (possibly compressed) tar file from all the files under
    'base_dir'.

    'compress' must be "gzip" (the default), "bzip2", or None.

    'owner' and 'group' can be used to define an owner and a group for the
    archive that is being built. If not provided, the current owner and group
    will be used.

    The output tar file will be named 'base_name' +  ".tar", possibly plus
    the appropriate compression extension (".gz", or ".bz2").

    Returns the output filename.
     N/A tar_compression N/A gzip None gz N/A compress_ext N/A gzip .gz N/A _BZ2_SUPPORTED N/A N/A N/A tar_compression N/A bzip2 bz2 N/A N/A compress_ext N/A bzip2 .bz2 N/A N/A N/A compress None N/A compress compress_ext N/A N/A N/A ValueError N/A N/A bad value for 'compress', or compression format not supported : {0} format compress N/A archive_name N/A N/A base_name .tar N/A N/A compress_ext get compress N/A archive_dir N/A N/A N/A os path dirname archive_name N/A N/A N/A N/A N/A os path exists archive_dir N/A N/A N/A logger None N/A N/A N/A N/A logger info creating %s archive_dir N/A N/A dry_run N/A N/A N/A N/A os makedirs archive_dir N/A N/A logger None N/A N/A N/A N/A logger info Creating tar archive N/A uid N/A _get_uid owner N/A gid N/A _get_gid group _set_uid_gid N/A N/A tarinfo N/A N/A N/A N/A gid None N/A N/A N/A tarinfo gid gid N/A N/A tarinfo gname group N/A N/A uid None N/A N/A N/A tarinfo uid uid N/A N/A tarinfo uname owner N/A tarinfo N/A N/A N/A dry_run N/A N/A tar N/A N/A tarfile open archive_name N/A w|%s N/A tar_compression N/A compress N/A N/A N/A N/A N/A tar add base_dir filter _set_uid_gid N/A N/A N/A N/A tar close N/A archive_name N/A _call_external_zip N/A N/A base_dir zip_filename verbose dry_run N/A False False N/A N/A verbose N/A N/A zipoptions -r N/A N/A zipoptions -rq distutils.errors DistutilsExecError distutils.spawn spawn N/A N/A N/A N/A spawn N/A zip zipoptions zip_filename base_dir dry_run dry_run N/A N/A N/A DistutilsExecError N/A N/A N/A N/A ExecError unable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utility zip_filename N/A _make_zipfile N/A N/A base_name base_dir verbose dry_run logger N/A 0 0 None N/A N/A Create a zip file from all the files under 'base_dir'.

    The output zip file will be named 'base_name' + ".zip".  Uses either the
    "zipfile" Python module (if available) or the InfoZIP "zip" utility
    (if installed and found on the default search path).  If neither tool is
    available, raises ExecError.  Returns the name of the output zip
    file.
     N/A zip_filename N/A base_name .zip N/A archive_dir N/A N/A N/A os path dirname base_name N/A N/A N/A N/A N/A os path exists archive_dir N/A N/A N/A logger None N/A N/A N/A N/A logger info creating %s archive_dir N/A N/A dry_run N/A N/A N/A N/A os makedirs archive_dir N/A N/A N/A zipfile N/A N/A N/A ImportError N/A N/A zipfile None N/A N/A zipfile None N/A N/A N/A _call_external_zip base_dir zip_filename verbose dry_run N/A N/A N/A logger None N/A N/A N/A N/A logger info creating '%s' and adding '%s' to it zip_filename base_dir N/A N/A dry_run N/A N/A zip N/A N/A zipfile ZipFile zip_filename w compression N/A zipfile ZIP_DEFLATED N/A N/A dirpath dirnames filenames N/A N/A os walk base_dir N/A N/A name filenames N/A N/A path N/A N/A N/A os path normpath N/A N/A N/A os path join dirpath name N/A N/A N/A N/A os path isfile path N/A N/A N/A N/A zip write path path N/A N/A logger None N/A N/A N/A N/A logger info adding '%s' path N/A N/A N/A zip close N/A zip_filename N/A N/A _ARCHIVE_FORMATS N/A gztar bztar tar zip N/A _make_tarball N/A N/A compress gzip gzip'ed tar-file N/A _make_tarball N/A N/A compress bzip2 bzip2'ed tar-file N/A _make_tarball N/A N/A compress None uncompressed tar file N/A _make_zipfile N/A ZIP file N/A _BZ2_SUPPORTED N/A N/A N/A _ARCHIVE_FORMATS N/A bztar N/A _make_tarball N/A N/A compress bzip2 bzip2'ed tar-file get_archive_formats N/A N/A N/A N/A N/A Returns a list of supported formats for archiving and unarchiving.

    Each element of the returned sequence is a tuple (name, description)
     N/A formats N/A N/A name N/A registry N/A 2 N/A N/A name registry N/A N/A _ARCHIVE_FORMATS items N/A N/A N/A formats sort N/A formats N/A register_archive_format N/A N/A name function extra_args description N/A None N/A N/A Registers an archive format.

    name is the name of the format. function is the callable that will be
    used to create archives. If provided, extra_args is a sequence of
    (name, value) tuples that will be passed as arguments to the callable.
    description can be provided to describe the format, and will be returned
    by the get_archive_formats() function.
     N/A N/A extra_args None N/A N/A extra_args N/A N/A N/A N/A isinstance function N/A collections Callable N/A N/A N/A TypeError N/A The %s object is not callable function N/A N/A N/A isinstance extra_args N/A tuple list N/A N/A N/A TypeError extra_args needs to be a sequence N/A element extra_args N/A N/A N/A N/A N/A isinstance element N/A tuple list N/A N/A len element 2 N/A N/A N/A TypeError extra_args elements are : (arg_name, value) N/A N/A _ARCHIVE_FORMATS N/A name N/A function extra_args description N/A unregister_archive_format N/A N/A name N/A N/A N/A N/A _ARCHIVE_FORMATS N/A name N/A make_archive N/A N/A base_name format root_dir base_dir verbose dry_run owner group logger N/A None None 0 0 None None None N/A N/A Create an archive file (eg. zip or tar).

    'base_name' is the name of the file to create, minus any format-specific
    extension; 'format' is the archive format: one of "zip", "tar", "bztar"
    or "gztar".

    'root_dir' is a directory that will be the root directory of the
    archive; ie. we typically chdir into 'root_dir' before creating the
    archive.  'base_dir' is the directory where we start archiving from;
    ie. 'base_dir' will be the common prefix of all files and
    directories in the archive.  'root_dir' and 'base_dir' both default
    to the current directory.  Returns the name of the archive file.

    'owner' and 'group' are used when creating a tar archive. By default,
    uses the current owner and group.
     N/A save_cwd N/A N/A os getcwd N/A N/A root_dir None N/A N/A N/A logger None N/A N/A N/A N/A logger debug changing into '%s' root_dir N/A base_name N/A N/A N/A os path abspath base_name N/A N/A dry_run N/A N/A N/A N/A os chdir root_dir N/A N/A base_dir None N/A N/A base_dir N/A os curdir N/A kwargs N/A dry_run logger dry_run logger N/A N/A N/A format_info N/A _ARCHIVE_FORMATS N/A format N/A N/A N/A KeyError N/A N/A N/A ValueError N/A unknown archive format '%s' format N/A func N/A format_info N/A 0 N/A N/A arg val N/A format_info N/A 1 N/A N/A N/A kwargs N/A arg val N/A N/A format zip N/A N/A N/A kwargs N/A owner owner N/A N/A kwargs N/A group group N/A N/A N/A filename N/A func base_name base_dir kwargs N/A N/A N/A root_dir None N/A N/A N/A logger None N/A N/A N/A N/A logger debug changing back to '%s' save_cwd N/A N/A N/A os chdir save_cwd N/A filename N/A get_unpack_formats N/A N/A N/A N/A N/A Returns a list of supported formats for unpacking.

    Each element of the returned sequence is a tuple
    (name, extensions, description)
     N/A formats N/A N/A name N/A info N/A 0 N/A info N/A 3 N/A N/A name info N/A N/A _UNPACK_FORMATS items N/A N/A N/A formats sort N/A formats N/A _check_unpack_options N/A N/A extensions function extra_args N/A N/A N/A Checks what gets registered as an unpacker. N/A existing_extensions N/A N/A N/A name info N/A N/A _UNPACK_FORMATS items N/A N/A ext N/A info N/A 0 N/A N/A N/A existing_extensions N/A ext name N/A extension extensions N/A N/A N/A extension existing_extensions N/A N/A msg %s is already registered for "%s" N/A N/A RegistryError N/A msg N/A extension N/A existing_extensions N/A extension N/A N/A N/A isinstance function N/A collections Callable N/A N/A N/A TypeError The registered function must be a callable N/A register_unpack_format N/A N/A name extensions function extra_args description N/A None N/A N/A Registers an unpack format.

    `name` is the name of the format. `extensions` is a list of extensions
    corresponding to the format.

    `function` is the callable that will be
    used to unpack archives. The callable will receive archives to unpack.
    If it's unable to handle an archive, it needs to raise a ReadError
    exception.

    If provided, `extra_args` is a sequence of
    (name, value) tuples that will be passed as arguments to the callable.
    description can be provided to describe the format, and will be returned
    by the get_unpack_formats() function.
     N/A N/A extra_args None N/A N/A extra_args N/A N/A N/A _check_unpack_options extensions function extra_args N/A N/A _UNPACK_FORMATS N/A name N/A extensions function extra_args description N/A unregister_unpack_format N/A N/A name N/A N/A N/A Removes the pack format from the registery. N/A N/A _UNPACK_FORMATS N/A name N/A _ensure_directory N/A N/A path N/A N/A N/A Ensure that the parent directory of `path` exists N/A dirname N/A N/A N/A os path dirname path N/A N/A N/A N/A N/A os path isdir dirname N/A N/A N/A N/A os makedirs dirname N/A _unpack_zipfile N/A N/A filename extract_dir N/A N/A N/A Unpack zip `filename` to `extract_dir`
     N/A N/A N/A zipfile N/A N/A N/A ImportError N/A N/A N/A ReadError zlib not supported, cannot unpack this archive. N/A N/A N/A N/A zipfile is_zipfile filename N/A N/A N/A ReadError N/A %s is not a zip file filename N/A zip N/A N/A zipfile ZipFile filename N/A N/A N/A info N/A N/A zip infolist N/A N/A name N/A info filename N/A N/A N/A N/A name startswith / N/A .. name N/A N/A N/A target N/A N/A N/A os path join extract_dir N/A N/A name split / N/A N/A target N/A N/A N/A N/A _ensure_directory target N/A N/A N/A N/A name endswith / N/A N/A data N/A N/A zip read N/A info filename N/A f N/A open target wb N/A N/A N/A N/A N/A f write data N/A N/A N/A N/A f close N/A data N/A N/A N/A N/A zip close N/A _unpack_tarfile N/A N/A filename extract_dir N/A N/A N/A Unpack tar/tar.gz/tar.bz2 `filename` to `extract_dir`
     N/A N/A N/A tarobj N/A N/A tarfile open filename N/A N/A N/A N/A tarfile TarError N/A N/A N/A ReadError N/A %s is not a compressed or uncompressed tar file filename N/A N/A N/A N/A N/A tarobj extractall extract_dir N/A N/A N/A N/A tarobj close N/A N/A _UNPACK_FORMATS N/A gztar tar zip N/A N/A .tar.gz .tgz _unpack_tarfile N/A gzip'ed tar-file N/A N/A .tar _unpack_tarfile N/A uncompressed tar file N/A N/A .zip _unpack_zipfile N/A ZIP file N/A _BZ2_SUPPORTED N/A N/A N/A _UNPACK_FORMATS N/A bztar N/A N/A .bz2 _unpack_tarfile N/A bzip2'ed tar-file _find_unpack_format N/A N/A filename N/A N/A N/A N/A name info N/A N/A _UNPACK_FORMATS items N/A N/A extension N/A info N/A 0 N/A N/A N/A N/A filename endswith extension N/A N/A name N/A None N/A unpack_archive N/A N/A filename extract_dir format N/A None None N/A N/A Unpack an archive.

    `filename` is the name of the archive.

    `extract_dir` is the name of the target directory, where the archive
    is unpacked. If not provided, the current working directory is used.

    `format` is the archive format: one of "zip", "tar", or "gztar". Or any
    other registered format. If not provided, unpack_archive will use the
    filename extension and see if an unpacker was registered for that
    extension.

    In case none is found, a ValueError is raised.
     N/A N/A extract_dir None N/A N/A extract_dir N/A N/A os getcwd N/A N/A format None N/A N/A N/A N/A format_info N/A _UNPACK_FORMATS N/A format N/A N/A N/A KeyError N/A N/A N/A ValueError N/A N/A Unknown unpack format '{0}' format format N/A func N/A format_info N/A 1 N/A N/A func filename extract_dir N/A dict N/A format_info N/A 2 N/A N/A format N/A _find_unpack_format filename N/A N/A format None N/A N/A N/A ReadError N/A N/A Unknown archive format '{0}' format filename N/A func N/A N/A _UNPACK_FORMATS N/A format N/A 1 N/A kwargs N/A dict N/A N/A _UNPACK_FORMATS N/A format N/A 2 N/A N/A func filename extract_dir kwargs N/A