I have following in conf1.py file
server = {
'1':'ABC'
'2':'CD'
}
client = {
'4':'jh'
'5':'lk'
}
Now in other python file
s=__import__('conf1')
temp='server'
for v in conf.temp.keys():
print v
And getting the error that conf object don't have attribute temp So how can I make this possible to interpret temp as server.
Thanks in Advance