tempdir

tempdir(new=True)

Get the the path to a tempory directory

Args: new (bool): Boolean indicating to create a new directory. Defaults to True.

Returns: str with the path to the directory

Examples: >>> from rlike import * >>> x = tempdir() >>> x = tempdir(new = True)