diff options
Diffstat (limited to 'python/script_path.py')
-rwxr-xr-x | python/script_path.py | 7 |
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__)) + |