OpenQuizz
Une application de gestion des contenus pédagogiques
FileCreator Class Reference
Inheritance diagram for FileCreator:
Collaboration diagram for FileCreator:

Public Member Functions

def __init__ (self, size, prefix='')
 
def __del__ (self)
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, traceback)
 
def path (self)
 
def size (self)
 

Detailed Description

A instance which creates a temporary file with a prefix and a given size
and provides this info to the user.
Once it gets deleted, it will remove the temporary file as well.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  size,
  prefix = '' 
)

◆ __del__()

def __del__ (   self)

Member Function Documentation

◆ __enter__()

def __enter__ (   self)

◆ __exit__()

def __exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

◆ path()

def path (   self)

◆ size()

def size (   self)

The documentation for this class was generated from the following file: