You need to actually try to run the code you are providing or this process isn't going to work.
File "arghlebargle.py", line 1 dicA=['A':a,'B':b,'C':c,'D':d] ^ SyntaxError: invalid syntaxDictionaries are declared with
{}
not []