A terminal command (Python module) to get the path of a file (pwd for files instead of directories).
PyPI Package: View pwdf on PyPI here.
pip install pwdf
pwdf <relative file path>
foo@bar:~$ pwdf testfile.json
/Users/ryn/Documents/testfiles/testfile.jsonTest install: python setup.py install
Build distributions: python setup.py sdist bdist_wheel
Install distributions: pip install dist/pwdf-<version>-py2.py3-none-any.whl