#NEWLINE# def __setitem__( self , column_name , value ) : #NEWLINE# #INDENT# '\n        Set the value for a given cell\n        ' #NEWLINE# if ( not ( column_name in self . table . default_columns ) ) : #NEWLINE# #INDENT# raise KeyError ( ( "%s isn't a column in this table" % column_name ) ) #NEWLINE# #UNINDENT# index = self . table . default_columns . index ( index ) #NEWLINE# self . cells [ index ] = value