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

Public Member Functions

def __init__ (self, file_path)
 
def __del__ (self)
 

Data Fields

 file_path
 
 tmp_file_path
 

Detailed Description

Utility class moving a file to a temporary location within the same directory
and moving it back on to where on object deletion.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  file_path 
)

◆ __del__()

def __del__ (   self)

Field Documentation

◆ file_path

file_path

◆ tmp_file_path

tmp_file_path

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