config_vars = {}
with open('the/file/path', 'r') as f:
    for line in f:
        if '=' in line:
            k, v = line.split('=', 1)
config_vars[k] = v
week_date = config_vars['dt']
cust_id = config_vars['cust_id']
Read a python variable in a shell script?