title: What's the command to take a picture in Sikuli
body: <p>I'm using Sikuli IDE.  I'd like to know what the command to take a screenshot is, so I can capture the screen at the end of a test.</p>
  
  <p>Something like this </p>
  
  
  
  <pre class="lang-python prettyprint-override"><code>try :
    if bla bla bla:
      print("blablabla")
    else:
      TAKESCREENSHOT()  #------------------&gt; What command do I put here?
    print("TEST_FAILED")
  </code></pre>