"getting every file in a directory, python",a = [name for name in os.listdir('.') if name.endswith('.txt')]