TempFiles#

class pyopenms.TempFiles#

Bases: object

Temporary files that are removed when the process exits

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

getTemporaryFile([alternative_file])

Return a fresh temporary filename that is deleted at exit, or alternative_file unchanged if it is not empty

static getTemporaryFile(alternative_file: str = '') → str#

Return a fresh temporary filename that is deleted at exit, or alternative_file unchanged if it is not empty