<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_column_keys_and_names(table):
 """ Return a generator of tuples k, c such that k is the name of the python attribute for the column and c is the name of the column in the sql table. """

    ins = inspect(table)
    return ((k, c.name) for k, c in ins.mapper.c.items())