| Home | Trees | Indices | Help |
|
|---|
|
|
Create and return a temporary directory. This has the same
behavior as mkdtemp but can be used as a context manager. For
example:
with TemporaryDirectory() as tmpdir:
...
Upon exiting the context, the directory and everthing contained
in it are removed.
|
|||
|
_os_error OS system call failed. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|||
list_of_strings |
|
||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
Return true if the pathname refers to an existing directory. |
Return a list containing the names of the entries in the directory.
path: path of directory to list
The list is in arbitrary order. It does not include the special
entries '.' and '..' even if they are present in the directory.
|
Join two or more pathname components, inserting '/' as needed. If any component is an absolute path, all previous path components will be discarded. An empty last part will result in a path that ends with a separator. |
Remove a file (same as unlink(path)). |
Remove a directory. |
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Mar 10 15:27:57 2016 | http://epydoc.sourceforge.net |