def fullpath(filename):
    if filename is None:
        return
    # a happy tour through stdlib
    filename = os.path.expanduser(filename)
    filename = os.path.expandvars(filename)
    filename = os.path.normpath(filename)
    return os.path.abspath(filename)
Perform normalization of the source file name.
dataset/ETHPy150Open pudo/archivekit/archivekit/util.py/fullpath