Not sure where the issue is, i tried using multiple variables names to this dict with the same error:
>>> hostname=dict('172.16.1.75'='N-Switch', '172.16.1.76' = 'W-Switch', '172.16.1.77' = 'E-Switch')
SyntaxError: keyword can't be an expression
I am trying to create a dictionary for a script to change hostnames on assets based by calling their IP address as the key. any idea where the issue is?