Realpath Tool
Resolve relative paths and symbolic links to absolute canonical paths. Use for getting the full, unambiguous file path.
Documentation & Preview
#!/usr/bin/env python3 import os, sys print(os.path.realpath(sys.argv[1] if sys.argv[1:] else '.'))