title: Split into list of lists by string with commas and semicolons Python
body: <p>I have a string input like this:</p>
  
  <pre><code>1,2000,5,1;1,2050,5,2;2,3000,10,3
  </code></pre>
  
  <p>How can I split it into a list of lists like this:</p>
  
  <pre><code>[ [1, 2000, 5, 1], [1, 2050, 5, 2], [2, 3000, 10, 3], ...]
  </code></pre>
  
  <p>I tried regex but kept getting confused between both commas and semicolons.</p>