mapnik/tests/python_tests/utilities.py

5 lines
143 B
Python

import os, sys, inspect
def execution_path(filename):
return os.path.join(os.path.dirname(sys._getframe(1).f_code.co_filename), filename)