parameters: (self, outputDir, imageFileNamePattern, numberOfImages)
docstring: Delete files after a video has been created from them.
docstring_summary: Delete files after a video has been created from them.
docstring_tokens: Delete files after a video has been created from them .
function: def deleteTemporaryFiles(self, outputDir, imageFileNamePattern, numberOfImages):
      """
      Delete files after a video has been created from them.
      """
      import os
      filePathPattern = os.path.join(outputDir, imageFileNamePattern)
      for imageIndex in range(numberOfImages):
        filename = filePathPattern % imageIndex
        logging.debug("Delete temporary file " + filename)
        os.remove(filename)
function_tokens: def deleteTemporaryFiles ( self , outputDir , imageFileNamePattern , numberOfImages ) : import os filePathPattern = os . path . join ( outputDir , imageFileNamePattern ) for imageIndex in range ( numberOfImages ) : filename = filePathPattern % imageIndex logging . debug ( "Delete temporary file " + filename ) os . remove ( filename )