title: python format function with { }
body: <p>Is there a way I can get this output using the format function </p>
  
  <pre><code>name1 = 'test1'
  name2 = 'test2'
  ps_script = """powershell.exe Start-Job -ScriptBlock {D:\abc\abc\abc\abc.ps1 {} {} abc}""".format(name1,name2)
  print(ps_script)
  </code></pre>
  
  <p>Output Error :</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "main.py", line 6, in
    
        ps_script = """powershell.exe Start-Job -ScriptBlock {D:\abc\abc\abc\abc.ps1 {} {} abc}""".format(name1,name2) KeyError:
    'D'</p>
  </blockquote>
  
  <p>Expecting output 
  powershell.exe Start-Job -ScriptBlock {D:\abc\abc\abc\abc.ps1 test1 test2 abc}</p>