def colname(colx):
 alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 if (colx <= 25):
  return alphabet[colx]
 else:
  (xdiv26, xmod26) = divmod(colx, 26)
  return (alphabet[(xdiv26 - 1)] + alphabet[xmod26])

def colname ( colx ) : alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' if ( colx <= 25 ) : return alphabet [ colx ] else : ( xdiv26 , xmod26 ) = divmod ( colx , 26 ) return ( alphabet [ ( xdiv26 - 1 ) ] + alphabet [ xmod26 ] )
utility function: 7 => h .