While running a code in python I want to update a dictionary value that is in config(global variable) I'm trying to do but i got the following error.
config.py
survey={'url':''}
runnigcode.py
url=config.__getattribute__(config.environment)
url['url']='myurl.com'
TypeError: "'module' object does not support item assignment"