title: How to write a part of powershell command as a variable in python?
body: <p>I have a powershell command to run it with winrm.</p>
  <pre><code>result  = session.run_ps('get-wmiobject -namespace root\SecurityCenter2 -computername localhost -Query &quot;Select * from AntiVirusProduct&quot;')
  </code></pre>
  <p>I want to give this part of command as a variable :</p>
  <pre><code>&quot;Select * from AntiVirusProduct&quot;
  </code></pre>
  <p>like :</p>
  <pre><code>query = &quot;Select * from AntiVirusProduct&quot;
  result  = session.run_ps('get-wmiobject -namespace root\SecurityCenter2 -computername localhost -Query query')
  </code></pre>
  <p>How can i do it in python?</p>