tempdir
tempdir(new=True)Get the the path to a tempory directory
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| new | bool | Boolean indicating to create a new directory. Defaults to True. | True |
Returns
| Name | Type | Description |
|---|---|---|
| str | str with the path to the directory |
Examples
>>> from rlike import *
>>> x = tempdir()
>>> x = tempdir(new = True)