I have 2 python files 1 where only dictionary is saved Example :
Dic.py
A={"1":{"a":1}, "2":{"b":2}}
And calldic.py
import dic
def todo(Value,Index):
Data=dic.Value(Index)
Print(Data)
As in the above code I am trying to pass argument as member of the dic.py file.
Can anyone please help me resolve this or correct me where I am wrong.
Thanks in advance