title: "PT" Formatted time string in python
body: <p>I'm receiving a string which is formatted in the following way: "PTXMYS" Where X is the amount of minutes and Y is the amount of seconds.</p>
  
  <p>I'd like to turn that string into an <code>int</code> which presents the amount of seconds in total.
  I tried using <code>datetime</code> and other stuff and it just won't work for me, I read online that this formatting is standard for iso8601 so it's weird for me that it doesn't really work.</p>
  
  <p>String example:</p>
  
  <pre><code>x="PT4M13S"
  </code></pre>