>>756
print(folder.glob("*.txt").next())
AttributeError: 'generator' object has no attribute 'next'
こうなりますです