|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, original, delete=None) |
Public Member Functions inherited from TempDirectory | |
| def | __init__ (self, path=None, delete=_default, kind="temp", globally_managed=False) |
| def | path (self) |
| def | __repr__ (self) |
| def | __enter__ (self) |
| def | __exit__ (self, exc, value, tb) |
| def | cleanup (self) |
Data Fields | |
| original | |
Data Fields inherited from TempDirectory | |
| delete | |
| kind | |
Static Public Attributes | |
| LEADING_CHARS | |
Helper class that creates a temporary directory adjacent to a real one.
Attributes:
original
The original directory to create a temp directory for.
path
After calling create() or entering, contains the full
path to the temporary directory.
delete
Whether the directory should be deleted when exiting
(when used as a contextmanager) | def __init__ | ( | self, | |
| original, | |||
delete = None |
|||
| ) |
|
static |
| original |