[Python-ideas] reusing realpath()