def TKgrid_configColRange(root, cols=[]):
    """configures range of columns. adding weight of 1
    input could be a list, range or integer 
    integer will be taken as a range"""
    if type(cols) == type(1):
        cols = range(cols)
    for i in cols:
        root.grid_columnconfigure(i, weight=1)
