summaryrefslogtreecommitdiff
path: root/python/script_path.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/script_path.py')
-rwxr-xr-xpython/script_path.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/script_path.py b/python/script_path.py
new file mode 100755
index 0000000..c199583
--- /dev/null
+++ b/python/script_path.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python2
+
+import os
+
+
+print os.path.dirname(os.path.abspath(__file__))
+