aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/mkdtemp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/mkdtemp')
-rwxr-xr-xsrc/utils/mkdtemp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/mkdtemp b/src/utils/mkdtemp
new file mode 100755
index 0000000..b4cb2a1
--- /dev/null
+++ b/src/utils/mkdtemp
@@ -0,0 +1,7 @@
+#!/usr/bin/python
+
+import tempfile
+from os.path import expanduser
+
+home = expanduser("~")
+tempfile.mkdtemp(prefix='TDIU16', dir=home)