Access all classes in a directory, put into an array, and print them out

Alex new_name at
Wed Jul 4 17:10:44 CEST 2001

Yeah, that's roughly what I have in my

def iterate(sequence):

    '''Use as
    for elt_idx, elt in iterate(sequence): do_stuff()'''
    return zip(range(len(sequence)), sequence)

Builtins.iterate = iterate


More information about the Python-list mailing list