def print_path(path):
    'Print path.'
    txt = path
    if os.path.isdir(path):
        txt += '/'
    if os.path.islink(path):
        txt += (' -> ' + os.readlink(path))
    print(txt)
Print path.
def print_path(path):
    
    txt = path
    if os.path.isdir(path):
        txt += '/'
    if os.path.islink(path):
        txt += (' -> ' + os.readlink(path))
    print(txt)