#NEWLINE# def index_col( self , con , colname , optlevel , idxtype , verbose ) : #NEWLINE# #INDENT# self . cur . execute ( ( 'create index %s on %s(%s)' % ( ( colname + '_idx' ) , TABLE_NAME , colname ) ) ) #NEWLINE# con . commit ( )