title: Python : SyntaxError: keyword can't be an expression
body: <p>Not sure where the issue is, i tried using multiple variables names to this dict with the same error:</p>
  
  <pre><code>&gt;&gt;&gt; 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
  </code></pre>
  
  <p>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?</p>