import itertools

def day_generator():
    days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
        'Saturday', 'Sunday']
for day in itertools.cycle(days):
    yield day
Infinite generator in Python for days of week