"Getting Every File in a Directory, Python",a = [name for name in os.listdir('.') if name.endswith('.txt')]