title: How can I deal with the " ' in os.system cmd command?
body: <p>I am using python os.system to call imagemagick command to add some text to some images, codes are as below:</p>
  
  <p><code>os.system("convert -size 2048x2048 xc:transparent -point -fill white -pointsize 75 -draw \"text 50,100 \'thing\'\" C:\\Users\\admin\\Desktop\\test\\output.png")</code>,
   howerver, it did nothing.</p>
  
  <p>Then i tried to delete the slashs in the string, but also nothing happened. It seems <code>os.system</code> is not good at quotation marks problems. But I think there should be a proper solution on these issues.</p>
  
  <p>So can anyone do me a favor to analysis this command string?</p>
  
  <p>Of course, in command line, it works well: <code>convert -size 2048x2048 xc:transparent -point -fill white -pointsize 75 -draw "text 50,100 'thing'" C:\\Users\\admin\\Desktop\\test\\output.png</code></p>