Return the system's temporary directory (where tempfiles are usually created in)
(cls)
| 1252 | class="cm"># class="st">""" |
| 1253 | @classmethod |
| 1254 | def get_temproot(cls): |
| 1255 | class="st">"""Return the system&class="cm">#x27;s temporary directory |
| 1256 | (where tempfiles are usually created in) |
| 1257 | class="st">""" |
| 1258 | import tempfile |
| 1259 | |
| 1260 | return local(tempfile.gettempdir()) |
| 1261 | |
| 1262 | @classmethod |
| 1263 | def mkdtemp(cls, rootdir=None): |
no outgoing calls