title: How to take a screenshot from part of screen with mss python?
body: <p>I have a simple code here:</p>
  <pre><code>import mss
  with mss.mss() as sct:
      filename = sct.shot(output=&quot;result.png&quot;)
  </code></pre>
  <p><strong>result.png</strong></p>
  <p><a href="https://i.stack.imgur.com/hB6FA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hB6FA.png" alt="enter image description here" /></a></p>
  <p>But I want to take a part of screen like this:</p>
  <p><a href="https://i.stack.imgur.com/x93RC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/x93RC.png" alt="enter image description here" /></a></p>
  <p>Thanks for help!</p>