def view_dir(path='.'):
    names = os.listdir(path)
    names.sort()
    for name in names:
        print(name, end = ' ')
    print()

def view_dir(path='.'):
    names = os.listdir(path)
    names.sort()
    for name in names:
        print(name, end = ' ')
    print()
